diff options
Diffstat (limited to 'src/tools/make_keywords')
-rwxr-xr-x | src/tools/make_keywords | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/tools/make_keywords b/src/tools/make_keywords new file mode 100755 index 00000000000..dc166951297 --- /dev/null +++ b/src/tools/make_keywords @@ -0,0 +1,13 @@ +#!/bin/sh + +cat <<END +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. Here is what I used: + +sdif /tmp/pgkeywords tools/SQL_keywords |\ +sed 's/</ /' | sed 's/>/ /'|sed 's/|/\ + /' | sort -b +0 +END |