pgsql: Fix errors in copyfuncs/equalfuncs support for JSON node types.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix errors in copyfuncs/equalfuncs support for JSON node types.
Date: 2022-07-05 15:12:43
Message-ID: E1o8kEE-001KgV-2W@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix errors in copyfuncs/equalfuncs support for JSON node types.

Noted while comparing existing code to the output of the proposed
patch to automate creation of these functions. Some of the changes
are just cosmetic, but others represent real bugs. I've not
attempted to analyze the user-visible impact.

Back-patch to v15 where this code came in.

Discussion: https://postgr.es/m/1794155.1656984188@sss.pgh.pa.us

Branch
------
REL_15_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/90d6c65a2c2358bd80103afc0686c90c70d5417b

Modified Files
--------------
src/backend/nodes/copyfuncs.c | 11 ++++++-----
src/backend/nodes/equalfuncs.c | 25 ++++++++++++++++++++++---
2 files changed, 28 insertions(+), 8 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2022-07-05 17:06:40 pgsql: Fix pg_upgrade to detect non-upgradable anyarray usages.
Previous Message Alvaro Herrera 2022-07-05 12:38:43 pgsql: libpq: Improve idle state handling in pipeline mode