Re: query to get the list of key (reserverd) words?

Поиск
Список
Период
Сортировка
От Peter Geoghegan
Тема Re: query to get the list of key (reserverd) words?
Дата
Msg-id CAEYLb_Vv8Sbnp8K72TyDhr=bmFYU48y=cnr0N-FZO3KW_x4xdA@mail.gmail.com
обсуждение исходный текст
Ответ на query to get the list of key (reserverd) words?  (Bill Moran <wmoran@potentialtech.com>)
Список pgsql-general
On 4 August 2011 13:53, Bill Moran <wmoran@potentialtech.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

В списке pgsql-general по дате отправления:

Предыдущее
От: Steven Boyd
Дата:
Сообщение: ...
Следующее
От: Steven Boyd
Дата:
Сообщение: local server service account