Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 65b1ed4

Browse files
committed
Add fiel to list keywords.
1 parent 725a03e commit 65b1ed4

File tree

2 files changed

+231
-0
lines changed

2 files changed

+231
-0
lines changed

src/tools/SQL_keywords

Lines changed: 226 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,226 @@
1+
These are the standard SQL'92 keywords:
2+
absolute
3+
action
4+
add
5+
all
6+
allocate
7+
alter
8+
and
9+
any
10+
are
11+
as
12+
asc
13+
assertion
14+
at
15+
authorization
16+
avg
17+
begin
18+
between
19+
bit
20+
bit_length
21+
both
22+
by
23+
cascade
24+
cascaded
25+
case
26+
cast
27+
catalog
28+
char
29+
character
30+
char_length
31+
character_length
32+
check
33+
close
34+
coalesce
35+
collate
36+
collation
37+
column
38+
commit
39+
connect
40+
connection
41+
constraint
42+
constraints
43+
continue
44+
convert
45+
corresponding
46+
count
47+
create
48+
cross
49+
current
50+
current_date
51+
current_time
52+
current_timestamp
53+
current_user
54+
cursor
55+
date
56+
day
57+
deallocate
58+
dec
59+
decimal
60+
declare
61+
default
62+
deferrable
63+
deferred
64+
delete
65+
desc
66+
describe
67+
descriptor
68+
diagnostics
69+
disconnect
70+
distinct
71+
domain
72+
double
73+
drop
74+
else
75+
end
76+
end-exec
77+
escape
78+
except
79+
exception
80+
exec
81+
execute
82+
eists
83+
external
84+
extract
85+
false
86+
fetch
87+
first
88+
float
89+
for
90+
foreign
91+
found
92+
from
93+
full
94+
get
95+
global
96+
go
97+
goto
98+
grant
99+
group
100+
having
101+
hour
102+
identity
103+
immediate
104+
in
105+
indicator
106+
initially
107+
inner
108+
input
109+
insensititve
110+
insert
111+
int
112+
integer
113+
intersect
114+
interval
115+
into
116+
is
117+
isolation
118+
join
119+
key
120+
language
121+
last
122+
leading
123+
left
124+
level
125+
like
126+
local
127+
lower
128+
match
129+
max
130+
min
131+
minute
132+
module
133+
month
134+
names
135+
national
136+
natural
137+
nchar
138+
next
139+
no
140+
not
141+
null
142+
nullif
143+
numeric
144+
octet_length
145+
of
146+
on
147+
only
148+
open
149+
option
150+
or
151+
ordered
152+
outer
153+
output
154+
overlaps
155+
partial
156+
postion
157+
precision
158+
prepare
159+
preserve
160+
primary
161+
prior
162+
privledges
163+
procedure
164+
public
165+
read
166+
real
167+
references
168+
relative
169+
restrict
170+
revoke
171+
right
172+
rollback
173+
rows
174+
schema
175+
scroll
176+
second
177+
section
178+
select
179+
session
180+
session_user
181+
set
182+
size
183+
smallint
184+
some
185+
sql
186+
sqlcode
187+
sqlerror
188+
sqlstate
189+
substring
190+
sum
191+
system_user
192+
table
193+
temporary
194+
then
195+
time
196+
timestamp
197+
timezone_hour
198+
timezone_minute
199+
to
200+
trailing
201+
transaction
202+
translate
203+
translation
204+
trim
205+
true
206+
union
207+
unique
208+
unknown
209+
update
210+
upper
211+
usage
212+
user
213+
using
214+
value
215+
values
216+
varchar
217+
varying
218+
view
219+
when
220+
whenever
221+
where
222+
with
223+
work
224+
write
225+
year
226+
zone

src/tools/make_keywords.README

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
To get a list of keywords compared to SQL'92, take the keywords out of
2+
backend/parser/keywords.c and tools/SQL_keywords.
3+
4+
Then run sdif with the PostgreSQL keyword file first, then the SQL'92
5+
keywords.

0 commit comments

Comments
 (0)