Bugs in copyfuncs/equalfuncs support for JSON node types
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-hackers@lists.postgresql.org
Date: 2022-07-05T01:23:08Z
Lists: pgsql-hackers
Attachments
- fix-json-copy-equal-bugs.patch (text/x-diff) patch
In reviewing Peter's patch to auto-generate the backend/nodes support files, I compared what the patch's script produces to what is in the code now. I found several discrepancies in the recently-added parse node types for JSON functions, and as far as I can see every one of those discrepancies is an error in the existing code. Some of them are relatively harmless (e.g. COPY_LOCATION_FIELD isn't really different from COPY_SCALAR_FIELD), but some of them definitely are live bugs. I propose the attached patch. regards, tom lane
Commits
-
Fix errors in copyfuncs/equalfuncs support for JSON node types.
- 90d6c65a2c23 15.0 landed
- 8d9f9634ef21 16.0 landed