]> granicus.if.org Git - postgresql/commit
Fix *-qualification of named parameters in SQL-language functions.
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 3 Feb 2014 19:46:54 +0000 (14:46 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 3 Feb 2014 19:46:54 +0000 (14:46 -0500)
commit641c08041fab8270e23017c27935951c3d080501
tree6ed84cdd48c11b2535b657f0a74508bef13ceaf2
parent5056607ae3b51b8aff0ca4726edb19db7f72f7a9
Fix *-qualification of named parameters in SQL-language functions.

Given a composite-type parameter named x, "$1.*" worked fine, but "x.*"
not so much.  This has been broken since named parameter references were
added in commit 9bff0780cf5be2193a5bad0d3df2dbe143085264, so patch back
to 9.2.  Per bug #9085 from Hardy Falk.
src/backend/executor/functions.c
src/test/regress/expected/rowtypes.out
src/test/regress/sql/rowtypes.sql