summaryrefslogtreecommitdiff
path: root/src/tools/make_keywords
blob: 629670633c2963df040566e8a8bcbc98788f83b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh

# $PostgreSQL$

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