2001-11-26 23:41:58 +01:00
|
|
|
#!/bin/sh
|
|
|
|
|
2010-09-20 22:08:53 +02:00
|
|
|
# src/tools/make_keywords
|
2006-03-11 05:38:42 +01:00
|
|
|
|
2001-11-26 23:41:58 +01:00
|
|
|
cat <<END
|
1997-09-27 18:42:21 +02:00
|
|
|
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
|
1997-09-27 19:22:05 +02:00
|
|
|
keywords. Here is what I used:
|
|
|
|
|
1997-09-27 19:25:48 +02:00
|
|
|
sdif /tmp/pgkeywords tools/SQL_keywords |\
|
1997-09-27 19:22:05 +02:00
|
|
|
sed 's/</ /' | sed 's/>/ /'|sed 's/|/\
|
|
|
|
/' | sort -b +0
|
2001-11-26 23:41:58 +01:00
|
|
|
END
|