mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-09-11 10:03:17 +02:00
16 lines
474 B
Bash
Executable File
16 lines
474 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# $PostgreSQL: pgsql/src/tools/make_keywords,v 1.2 2006/03/11 04:38:41 momjian Exp $
|
|
|
|
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
|