Add fiel to list keywords.
This commit is contained in:
parent
725a03eb4b
commit
65b1ed4712
226
src/tools/SQL_keywords
Normal file
226
src/tools/SQL_keywords
Normal file
@ -0,0 +1,226 @@
|
|||||||
|
These are the standard SQL'92 keywords:
|
||||||
|
absolute
|
||||||
|
action
|
||||||
|
add
|
||||||
|
all
|
||||||
|
allocate
|
||||||
|
alter
|
||||||
|
and
|
||||||
|
any
|
||||||
|
are
|
||||||
|
as
|
||||||
|
asc
|
||||||
|
assertion
|
||||||
|
at
|
||||||
|
authorization
|
||||||
|
avg
|
||||||
|
begin
|
||||||
|
between
|
||||||
|
bit
|
||||||
|
bit_length
|
||||||
|
both
|
||||||
|
by
|
||||||
|
cascade
|
||||||
|
cascaded
|
||||||
|
case
|
||||||
|
cast
|
||||||
|
catalog
|
||||||
|
char
|
||||||
|
character
|
||||||
|
char_length
|
||||||
|
character_length
|
||||||
|
check
|
||||||
|
close
|
||||||
|
coalesce
|
||||||
|
collate
|
||||||
|
collation
|
||||||
|
column
|
||||||
|
commit
|
||||||
|
connect
|
||||||
|
connection
|
||||||
|
constraint
|
||||||
|
constraints
|
||||||
|
continue
|
||||||
|
convert
|
||||||
|
corresponding
|
||||||
|
count
|
||||||
|
create
|
||||||
|
cross
|
||||||
|
current
|
||||||
|
current_date
|
||||||
|
current_time
|
||||||
|
current_timestamp
|
||||||
|
current_user
|
||||||
|
cursor
|
||||||
|
date
|
||||||
|
day
|
||||||
|
deallocate
|
||||||
|
dec
|
||||||
|
decimal
|
||||||
|
declare
|
||||||
|
default
|
||||||
|
deferrable
|
||||||
|
deferred
|
||||||
|
delete
|
||||||
|
desc
|
||||||
|
describe
|
||||||
|
descriptor
|
||||||
|
diagnostics
|
||||||
|
disconnect
|
||||||
|
distinct
|
||||||
|
domain
|
||||||
|
double
|
||||||
|
drop
|
||||||
|
else
|
||||||
|
end
|
||||||
|
end-exec
|
||||||
|
escape
|
||||||
|
except
|
||||||
|
exception
|
||||||
|
exec
|
||||||
|
execute
|
||||||
|
eists
|
||||||
|
external
|
||||||
|
extract
|
||||||
|
false
|
||||||
|
fetch
|
||||||
|
first
|
||||||
|
float
|
||||||
|
for
|
||||||
|
foreign
|
||||||
|
found
|
||||||
|
from
|
||||||
|
full
|
||||||
|
get
|
||||||
|
global
|
||||||
|
go
|
||||||
|
goto
|
||||||
|
grant
|
||||||
|
group
|
||||||
|
having
|
||||||
|
hour
|
||||||
|
identity
|
||||||
|
immediate
|
||||||
|
in
|
||||||
|
indicator
|
||||||
|
initially
|
||||||
|
inner
|
||||||
|
input
|
||||||
|
insensititve
|
||||||
|
insert
|
||||||
|
int
|
||||||
|
integer
|
||||||
|
intersect
|
||||||
|
interval
|
||||||
|
into
|
||||||
|
is
|
||||||
|
isolation
|
||||||
|
join
|
||||||
|
key
|
||||||
|
language
|
||||||
|
last
|
||||||
|
leading
|
||||||
|
left
|
||||||
|
level
|
||||||
|
like
|
||||||
|
local
|
||||||
|
lower
|
||||||
|
match
|
||||||
|
max
|
||||||
|
min
|
||||||
|
minute
|
||||||
|
module
|
||||||
|
month
|
||||||
|
names
|
||||||
|
national
|
||||||
|
natural
|
||||||
|
nchar
|
||||||
|
next
|
||||||
|
no
|
||||||
|
not
|
||||||
|
null
|
||||||
|
nullif
|
||||||
|
numeric
|
||||||
|
octet_length
|
||||||
|
of
|
||||||
|
on
|
||||||
|
only
|
||||||
|
open
|
||||||
|
option
|
||||||
|
or
|
||||||
|
ordered
|
||||||
|
outer
|
||||||
|
output
|
||||||
|
overlaps
|
||||||
|
partial
|
||||||
|
postion
|
||||||
|
precision
|
||||||
|
prepare
|
||||||
|
preserve
|
||||||
|
primary
|
||||||
|
prior
|
||||||
|
privledges
|
||||||
|
procedure
|
||||||
|
public
|
||||||
|
read
|
||||||
|
real
|
||||||
|
references
|
||||||
|
relative
|
||||||
|
restrict
|
||||||
|
revoke
|
||||||
|
right
|
||||||
|
rollback
|
||||||
|
rows
|
||||||
|
schema
|
||||||
|
scroll
|
||||||
|
second
|
||||||
|
section
|
||||||
|
select
|
||||||
|
session
|
||||||
|
session_user
|
||||||
|
set
|
||||||
|
size
|
||||||
|
smallint
|
||||||
|
some
|
||||||
|
sql
|
||||||
|
sqlcode
|
||||||
|
sqlerror
|
||||||
|
sqlstate
|
||||||
|
substring
|
||||||
|
sum
|
||||||
|
system_user
|
||||||
|
table
|
||||||
|
temporary
|
||||||
|
then
|
||||||
|
time
|
||||||
|
timestamp
|
||||||
|
timezone_hour
|
||||||
|
timezone_minute
|
||||||
|
to
|
||||||
|
trailing
|
||||||
|
transaction
|
||||||
|
translate
|
||||||
|
translation
|
||||||
|
trim
|
||||||
|
true
|
||||||
|
union
|
||||||
|
unique
|
||||||
|
unknown
|
||||||
|
update
|
||||||
|
upper
|
||||||
|
usage
|
||||||
|
user
|
||||||
|
using
|
||||||
|
value
|
||||||
|
values
|
||||||
|
varchar
|
||||||
|
varying
|
||||||
|
view
|
||||||
|
when
|
||||||
|
whenever
|
||||||
|
where
|
||||||
|
with
|
||||||
|
work
|
||||||
|
write
|
||||||
|
year
|
||||||
|
zone
|
5
src/tools/make_keywords.README
Normal file
5
src/tools/make_keywords.README
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
To get a list of keywords compared to SQL'92, take the keywords out of
|
||||||
|
backend/parser/keywords.c and tools/SQL_keywords.
|
||||||
|
|
||||||
|
Then run sdif with the PostgreSQL keyword file first, then the SQL'92
|
||||||
|
keywords.
|
Loading…
x
Reference in New Issue
Block a user