pgsql: Add COPY_ARRAY_FIELD and COMPARE_ARRAY_FIELD

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Add COPY_ARRAY_FIELD and COMPARE_ARRAY_FIELD
Date: 2021-09-14 08:43:45
Message-ID: E1mQ42b-0001sX-JL@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Add COPY_ARRAY_FIELD and COMPARE_ARRAY_FIELD

These handle node fields that are inline arrays (as opposed to
dynamically allocated arrays handled by COPY_POINTER_FIELD and
COMPARE_POINTER_FIELD). These cases were hand-coded until now.

Reviewed-by: Jacob Champion <pchampion(at)vmware(dot)com>
Discussion: https://www.postgresql.org/message-id/c091e5cd-45f8-69ee-6a9b-de86912cc7e7@enterprisedb.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/308da179e7c2c41c146e23a1418f6419aee340af

Modified Files
--------------
src/backend/nodes/copyfuncs.c | 11 +++++++----
src/backend/nodes/equalfuncs.c | 7 +++++++
2 files changed, 14 insertions(+), 4 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2021-09-14 19:11:31 pgsql: Fix planner error with multiple copies of an AlternativeSubPlan.
Previous Message Andres Freund 2021-09-14 01:31:19 pgsql: jit: Do not try to shut down LLVM state in case of LLVM triggere