pgsql: Fix errors in copyfuncs/equalfuncs support for JSON node types. - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Fix errors in copyfuncs/equalfuncs support for JSON node types.
Date
Msg-id E1o8kEE-001KgU-27@gemulon.postgresql.org
Whole thread Raw
List 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
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/8d9f9634ef21ab0023e2bd98e799f5ad2eec4539

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


pgsql-committers by date:

Previous
From: Alvaro Herrera
Date:
Subject: pgsql: libpq: Improve idle state handling in pipeline mode
Next
From: Tom Lane
Date:
Subject: pgsql: Fix pg_upgrade to detect non-upgradable anyarray usages.