Add COPY_ARRAY_FIELD and COMPARE_ARRAY_FIELD
authorPeter Eisentraut <peter@eisentraut.org>
Tue, 14 Sep 2021 07:34:50 +0000 (09:34 +0200)
committerPeter Eisentraut <peter@eisentraut.org>
Tue, 14 Sep 2021 08:27:34 +0000 (10:27 +0200)
commit308da179e7c2c41c146e23a1418f6419aee340af
treeffddbe17cfef331ced01c4e1a27d8d9e2fe63ecc
parent85399291977324d5c9f634a9a9d6d8591bfe7520
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: https://www.postgresql.org/message-id/c091e5cd-45f8-69ee-6a9b-de86912cc7e7@enterprisedb.com
src/backend/nodes/copyfuncs.c
src/backend/nodes/equalfuncs.c