postgresql/src/tools/make_keywords

14 lines
388 B
Plaintext
Raw Normal View History

#!/bin/sh
cat <<END
1997-09-28 00:42:21 +08: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-28 01:22:05 +08:00
keywords. Here is what I used:
1997-09-28 01:25:48 +08:00
sdif /tmp/pgkeywords tools/SQL_keywords |\
1997-09-28 01:22:05 +08:00
sed 's/</ /' | sed 's/>/ /'|sed 's/|/\
/' | sort -b +0
END