pgsql: Add COPY_ARRAY_FIELD and COMPARE_ARRAY_FIELD

Started by Peter Eisentrautalmost 5 years ago1 messagescomitters
Jump to latest
#1Peter Eisentraut
peter_e@gmx.net

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@vmware.com>
Discussion: /messages/by-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(-)