Skip to content

Instantly share code, notes, and snippets.

@pyramation
Last active March 4, 2021 06:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pyramation/31393422f76c63169d69c202b75ee491 to your computer and use it in GitHub Desktop.
Save pyramation/31393422f76c63169d69c202b75ee491 to your computer and use it in GitHub Desktop.
const reserved = [
'all',
'analyse',
'analyze',
'and',
'any',
'array',
'as',
'asc',
'asymmetric',
'both',
'case',
'cast',
'check',
'collate',
'column',
'constraint',
'create',
'current_catalog',
'current_date',
'current_role',
'current_time',
'current_timestamp',
'current_user',
'default',
'deferrable',
'desc',
'distinct',
'do',
'else',
'end',
'except',
'false',
'fetch',
'for',
'foreign',
'from',
'grant',
'group',
'having',
'in',
'initially',
'intersect',
'into',
'lateral',
'leading',
'limit',
'localtime',
'localtimestamp',
'not',
'null',
'offset',
'on',
'only',
'or',
'order',
'placing',
'primary',
'references',
'returning',
'select',
'session_user',
'some',
'symmetric',
'table',
'then',
'to',
'trailing',
'true',
'union',
'unique',
'user',
'using',
'variadic',
'when',
'where',
'window'
]
select * from pg_get_keywords() where catcode = 'R';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment