diff options
author | Andrew Dunstan <andrew@dunslane.net> | 2022-07-07 17:40:02 -0400 |
---|---|---|
committer | Andrew Dunstan <andrew@dunslane.net> | 2022-07-07 17:45:47 -0400 |
commit | 2b2bcc22e571c27a9ea8861e29e0c40874dae714 (patch) | |
tree | c782b50bb528f2256b82cf7d230689bad6f3dec1 /src/backend/executor/nodeMergejoin.c | |
parent | ea9e59d701b3bfdfebcc67647ed203fa22eed9b0 (diff) | |
download | postgresql-2b2bcc22e571c27a9ea8861e29e0c40874dae714.tar.gz postgresql-2b2bcc22e571c27a9ea8861e29e0c40874dae714.zip |
Only allow returning string types or bytea from json_serialize
These are documented to be the allowed types for the RETURNING clause,
but the restriction was not being enforced, which caused a segfault if
another type was specified. Add some testing for this.
Per report from a.kozhemyakin
Backpatch to release 15.
Diffstat (limited to 'src/backend/executor/nodeMergejoin.c')
0 files changed, 0 insertions, 0 deletions