pgsql: Make OFF keyword unreserved. It's not hard to imagine wanting to

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема pgsql: Make OFF keyword unreserved. It's not hard to imagine wanting to
Дата
Msg-id E1P9Itg-0003oT-B1@gemulon.postgresql.org
обсуждение исходный текст
Ответы Re: pgsql: Make OFF keyword unreserved. It's not hard to imagine wanting to  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-committers
Make OFF keyword unreserved. It's not hard to imagine wanting to use 'off'
as a variable or column name, and it's not reserved in recent versions of
the SQL spec either. This became particularly annoying in 9.0, before that
PL/pgSQL replaced variable names in queries with parameter markers, so
it was possible to use OFF and many other backend parser keywords as
variable names. Because of that, backpatch to 9.0.

Branch
------
master

Details
-------
http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=5c84fe4607907b22e45433195fec800d23ac1f49

Modified Files
--------------
src/backend/parser/gram.y   |   26 +++++++++++++-------------
src/include/parser/kwlist.h |    2 +-
2 files changed, 14 insertions(+), 14 deletions(-)


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: pgsql: Fix ecpg test building process to not generate *.dSYM junk on Ma
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: pgsql: Make OFF keyword unreserved. It's not hard to imagine wanting to