2001-11-26 17:41:58 -05:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
2006-03-10 23:38:42 -05:00
|
|
|
# $PostgreSQL: pgsql/src/tools/make_keywords,v 1.2 2006/03/11 04:38:41 momjian Exp $
|
|
|
|
|
|
2001-11-26 17:41:58 -05:00
|
|
|
cat <<END
|
1997-09-27 12:42:21 -04: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 13:22:05 -04:00
|
|
|
keywords. Here is what I used:
|
|
|
|
|
|
1997-09-27 13:25:48 -04:00
|
|
|
sdif /tmp/pgkeywords tools/SQL_keywords |\
|
1997-09-27 13:22:05 -04:00
|
|
|
sed 's/</ /' | sed 's/>/ /'|sed 's/|/\
|
|
|
|
|
/' | sort -b +0
|
2001-11-26 17:41:58 -05:00
|
|
|
END
|