]> granicus.if.org Git - postgresql/commit
Assume deconstruct_array() outputs are untoasted.
authorNoah Misch <noah@leadboat.com>
Sun, 12 Mar 2017 23:35:31 +0000 (19:35 -0400)
committerNoah Misch <noah@leadboat.com>
Sun, 12 Mar 2017 23:35:31 +0000 (19:35 -0400)
commit2fd26b23b662dcb0cf649e983a58581cb911fc4b
tree2aac3510bbd79eb36b721277e9a1398fa3dfaef5
parent9e0926468a1c41a31c09785787a737311dcd92c1
Assume deconstruct_array() outputs are untoasted.

In functions that issue a deconstruct_array() call, consistently use
plain VARSIZE()/VARDATA() on the array elements.  Prior practice was
divided between those and VARSIZE_ANY_EXHDR()/VARDATA_ANY().
contrib/hstore/hstore_io.c
src/backend/access/common/reloptions.c
src/backend/utils/adt/jsonb_gin.c
src/backend/utils/adt/jsonfuncs.c
src/backend/utils/adt/pg_upgrade_support.c
src/backend/utils/adt/tsvector_op.c