From: | Peter Geoghegan <peter(at)2ndquadrant(dot)com> |
---|---|
To: | Bill Moran <wmoran(at)potentialtech(dot)com> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: query to get the list of key (reserverd) words? |
Date: | 2011-08-04 13:07:16 |
Message-ID: | CAEYLb_Vv8Sbnp8K72TyDhr=bmFYU48y=cnr0N-FZO3KW_x4xdA@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On 4 August 2011 13:53, Bill Moran <wmoran(at)potentialtech(dot)com> wrote:
> Is there a pg_* or other table in the database that I can query for this
> list? Or some other automated method that can be employed?
All keywords are listed in src/backend/parser/gram.y:
/* ordinary key words in alphabetical order */
%token <keyword> ABORT_P ABSOLUTE_P ACCESS ACTION ADD_P ADMIN AFTER
AGGREGATE ALL ALSO ALTER ALWAYS ANALYSE ANALYZE AND ANY ARRAY AS ASC
ASSERTION ASSIGNMENT ASYMMETRIC AT ATTRIBUTE AUTHORIZATION
BACKWARD BEFORE BEGIN_P BETWEEN BIGINT BINARY BIT
BOOLEAN_P BOTH BY
*** SNIP ***
--
Peter Geoghegan http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training and Services
From | Date | Subject | |
---|---|---|---|
Next Message | Steven Boyd | 2011-08-04 13:28:15 | local server service account |
Previous Message | Steven Boyd | 2011-08-04 13:04:38 |