]> granicus.if.org Git - postgresql/commit
Make OFF keyword unreserved. It's not hard to imagine wanting to use 'off'
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Fri, 22 Oct 2010 14:37:38 +0000 (17:37 +0300)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Fri, 22 Oct 2010 14:44:36 +0000 (17:44 +0300)
commit143b8cbceec0d15dd5c747e2c45a4b0a762af6f0
tree8f39675b785b157b815cf96ca106133da15db89b
parenteda3a62f98a6d81727f82a9ae13718343549ca7d
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.
src/backend/parser/gram.y
src/include/parser/kwlist.h