pgsql: Fix broken ruleutils support for function TRANSFORM clauses.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix broken ruleutils support for function TRANSFORM clauses.
Date: 2021-01-25 18:04:13
Message-ID: E1l46Dl-0005tp-26@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix broken ruleutils support for function TRANSFORM clauses.

I chanced to notice that this dumped core due to a faulty Assert.
To add insult to injury, the output has been misformatted since v11.
Obviously we need some regression testing here.

Discussion: https://postgr.es/m/d1cc628c-3953-4209-957b-29427acc38c8@www.fastmail.com

Branch
------
REL9_5_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/41309f716ef5dbe6c3399f448e25f0ec2d23fa3c

Modified Files
--------------
contrib/hstore_plpython/expected/hstore_plpython.out | 16 +++++++++++++---
contrib/hstore_plpython/sql/hstore_plpython.sql | 9 ++++++---
src/backend/utils/fmgr/funcapi.c | 5 +++--
3 files changed, 22 insertions(+), 8 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2021-01-25 19:53:28 pgsql: Don't clobber the calling user's credentials cache in Kerberos t
Previous Message Tom Lane 2021-01-25 18:04:12 pgsql: Fix broken ruleutils support for function TRANSFORM clauses.