Skip to content

Commit 87251d1

Browse files
committed
Cleanup for find_keywords.
1 parent 65b1ed4 commit 87251d1

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

src/tools/SQL_keywords

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ except
7979
exception
8080
exec
8181
execute
82-
eists
82+
exists
8383
external
8484
extract
8585
false

src/tools/make_keywords.README

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,8 @@ To get a list of keywords compared to SQL'92, take the keywords out of
22
backend/parser/keywords.c and tools/SQL_keywords.
33

44
Then run sdif with the PostgreSQL keyword file first, then the SQL'92
5-
keywords.
5+
keywords. Here is what I used:
6+
7+
sdif tools/SQL_keywords /tmp/pgkeywords |\
8+
sed 's/</ /' | sed 's/>/ /'|sed 's/|/\
9+
/' | sort -b +0

0 commit comments

Comments
 (0)