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/[email protected] 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(-)
