pgsql: Fix *-qualification of named parameters in SQL-language function

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix *-qualification of named parameters in SQL-language function
Date: 2014-02-03 19:47:33
Message-ID: E1WAPUT-0004bI-7N@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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.

Branch
------
REL9_3_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/641c08041fab8270e23017c27935951c3d080501

Modified Files
--------------
src/backend/executor/functions.c | 8 ++++++
src/test/regress/expected/rowtypes.out | 47 ++++++++++++++++++++++++++++++++
src/test/regress/sql/rowtypes.sql | 28 +++++++++++++++++++
3 files changed, 83 insertions(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Andres Freund 2014-02-03 21:20:52 Re: pgsql: Add pg_stat_archiver statistics view.
Previous Message Robert Haas 2014-02-03 19:34:35 pgsql: Adjust pg_sleep_for/pg_sleep_until to use clock_timestamp.