pgsql: Fix broken ruleutils support for function TRANSFORM clauses.

Started by Tom Laneover 5 years ago1 messagescomitters
Jump to latest
#1Tom Lane
tgl@sss.pgh.pa.us

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: /messages/by-id/d1cc628c-3953-4209-957b-29427acc38c8@www.fastmail.com

Branch
------
REL_12_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/4641b2a30f0a2353e875cba48193e33d8ca0b173

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