Add COPY_ARRAY_FIELD and COMPARE_ARRAY_FIELD

Peter Eisentraut <peter@eisentraut.org>

Commit: 308da179e7c2c41c146e23a1418f6419aee340af
Author: Peter Eisentraut <peter@eisentraut.org>
Date: 2021-09-14T08:27:34Z
Releases: 15.0
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

Files

PathChange+/−
src/backend/nodes/copyfuncs.c modified +7 −4
src/backend/nodes/equalfuncs.c modified +7 −0

Discussion