aboutsummaryrefslogtreecommitdiff
path: root/src/backend/tcop/postgres.c
diff options
context:
space:
mode:
authorPeter Eisentraut <peter@eisentraut.org>2021-09-14 09:34:50 +0200
committerPeter Eisentraut <peter@eisentraut.org>2021-09-14 10:27:38 +0200
commitbdeb2c4ec2700bfa561061ccd19181326ee01c3f (patch)
tree53bc9413009346a63d2698852e1da68038397807 /src/backend/tcop/postgres.c
parent308da179e7c2c41c146e23a1418f6419aee340af (diff)
downloadpostgresql-bdeb2c4ec2700bfa561061ccd19181326ee01c3f.tar.gz
postgresql-bdeb2c4ec2700bfa561061ccd19181326ee01c3f.zip
Add WRITE_INDEX_ARRAY
We have a few WRITE_{name of type}_ARRAY macros, but the one case using the Index type was hand-coded. Wrap it into a macro as well. This also changes the behavior slightly: Before, the field name was skipped if the length was zero. Now it prints the field name even in that case. This is more consistent with how other array fields are handled. Reviewed-by: Jacob Champion <pchampion@vmware.com> Discussion: https://www.postgresql.org/message-id/c091e5cd-45f8-69ee-6a9b-de86912cc7e7@enterprisedb.com
Diffstat (limited to 'src/backend/tcop/postgres.c')
0 files changed, 0 insertions, 0 deletions