postgresql/src
Andrew Dunstan 3c633f32b9 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.
2022-07-07 17:40:02 -04:00
..
backend Only allow returning string types or bytea from json_serialize 2022-07-07 17:40:02 -04:00
bin Make Windows 10 the minimal runtime requirement for WIN32 2022-07-07 13:25:45 +09:00
common Change internal RelFileNode references to RelFileNumber or RelFileLocator. 2022-07-06 11:39:09 -04:00
fe_utils Remove redundant null pointer checks before PQclear and PQconninfoFree 2022-07-03 20:11:05 +02:00
include Convert macros to static inline functions (block.h) 2022-07-07 08:36:51 +02:00
interfaces Reorder ecpg_config.h.in alphabetically 2022-07-06 07:16:46 +02:00
makefiles Unify DLSUFFIX on Darwin 2022-07-06 07:41:33 +02:00
pl PL/Python: Update guide to alternative expected files 2022-06-27 12:53:05 +02:00
port Remove redundant null pointer checks before free() 2022-07-03 11:47:15 +02:00
template Unify DLSUFFIX on Darwin 2022-07-06 07:41:33 +02:00
test Only allow returning string types or bytea from json_serialize 2022-07-07 17:40:02 -04:00
timezone Update time zone data files to tzdata release 2022a. 2022-05-05 14:54:53 -04:00
tools Change internal RelFileNode references to RelFileNumber or RelFileLocator. 2022-07-06 11:39:09 -04:00
tutorial Update copyright for 2022 2022-01-07 19:04:57 -05:00
.gitignore
DEVELOPERS
Makefile
Makefile.global.in Remove LLVM_CONFIG from Makefile.global.in 2022-07-06 08:11:39 -07:00
Makefile.shlib Tiny capitalization adjustment in pkg-config files 2022-07-06 10:35:33 +02:00
nls-global.mk Improve frontend error logging style. 2022-04-08 14:55:14 -04:00