]> granicus.if.org Git - postgresql/commit
Allow AS to be omitted when specifying an output column name in SELECT
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 15 Feb 2008 22:17:06 +0000 (22:17 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 15 Feb 2008 22:17:06 +0000 (22:17 +0000)
commite67867b26cf052e166b39c6457ee04861cb81ead
treedafa8a47410c9f23565fe3df13368d06640bb060
parentcc80f0a340cdeba7716c5e128346481b82cc6949
Allow AS to be omitted when specifying an output column name in SELECT
(or RETURNING), but only when the output name is not any SQL keyword.
This seems as close as we can get to the standard's syntax without a
great deal of thrashing.  Original patch by Hiroshi Saito, amended by me.
doc/src/sgml/queries.sgml
doc/src/sgml/ref/delete.sgml
doc/src/sgml/ref/insert.sgml
doc/src/sgml/ref/select.sgml
doc/src/sgml/ref/select_into.sgml
doc/src/sgml/ref/update.sgml
doc/src/sgml/sql.sgml
src/backend/parser/gram.y
src/interfaces/ecpg/preproc/preproc.y
src/test/regress/expected/plpgsql.out