summaryrefslogtreecommitdiff
path: root/contrib/jsonb_plperl/jsonb_plperl.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2018-06-18 15:55:06 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2018-06-18 15:55:06 -0400
commite3b7f7cc50630dac958a48b533cce04e4222892b (patch)
treec9112a11982f1f408e89e233b23e278b4daa0fc3 /contrib/jsonb_plperl/jsonb_plperl.c
parent3a382983d142ca270fe49c63fa6d4a95037ebee3 (diff)
downloadpostgresql-e3b7f7cc50630dac958a48b533cce04e4222892b.tar.gz
Fix contrib/hstore_plperl to look through scalar refs.
Bring this transform function into sync with the policy established by commit 3a382983d. Also, fix it to make sure that what it drills down to is indeed a hash, and not some other kind of Perl SV. Previously, the test cases added here provoked crashes. Because of the crash hazard, back-patch to 9.5 where this module was introduced. Discussion: https://postgr.es/m/28336.1528393969@sss.pgh.pa.us
Diffstat (limited to 'contrib/jsonb_plperl/jsonb_plperl.c')
0 files changed, 0 insertions, 0 deletions