]> granicus.if.org Git - postgresql/commit
Remove plpgsql's RENAME declaration, which has bizarre and mostly nonfunctional
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 5 Nov 2009 16:58:36 +0000 (16:58 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 5 Nov 2009 16:58:36 +0000 (16:58 +0000)
commitc29ae527e90d7704ec85f69a3fe67996e654a6bd
treef652a1f4eaa38c17bb2c89fed39ca9a63b37d100
parent8e792776997698bd1dcf6e1403ed994e3e739f16
Remove plpgsql's RENAME declaration, which has bizarre and mostly nonfunctional
behavior, and is so little used that no one has been interested in fixing it.
To ensure that possible uses are covered, remove the ALIAS declaration's
arbitrary restriction that only $n identifiers can be aliased.

(We could alternatively make RENAME act just like ALIAS, but per discussion
having two different ways to do the same thing is probably more confusing than
helpful.)
doc/src/sgml/plpgsql.sgml
src/pl/plpgsql/src/gram.y
src/pl/plpgsql/src/pl_funcs.c
src/pl/plpgsql/src/plpgsql.h
src/pl/plpgsql/src/scan.l
src/test/regress/expected/plpgsql.out
src/test/regress/sql/plpgsql.sql