OSDN Git Service

Change the notation for calling functions with named parameters from
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 30 May 2010 18:10:41 +0000 (18:10 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 30 May 2010 18:10:41 +0000 (18:10 +0000)
commitb12b7a9038259967098159cf0ccce0e77327a4d1
treee6ff349cfd79edf3d06a76fac70c247a56e997cb
parent2bde07c198a4995a4a756c58ee65d030a0e6ee02
Change the notation for calling functions with named parameters from
"val AS name" to "name := val", as per recent discussion.

This patch catches everything in the original named-parameters patch,
but I'm not certain that no other dependencies snuck in later (grepping
the source tree for all uses of AS soon proved unworkable).

In passing I note that we've dropped the ball at least once on keeping
ecpg's lexer (as opposed to parser) in sync with the backend.  It would
be a good idea to go through all of pgc.l and see if it's in sync now.
I didn't attempt that at the moment.
doc/src/sgml/syntax.sgml
doc/src/sgml/xfunc.sgml
src/backend/parser/gram.y
src/backend/parser/parse_func.c
src/backend/parser/scan.l
src/backend/utils/adt/ruleutils.c
src/bin/psql/psqlscan.l
src/interfaces/ecpg/preproc/parse.pl
src/interfaces/ecpg/preproc/pgc.l
src/test/regress/expected/polymorphism.out
src/test/regress/sql/polymorphism.sql