postgresql/contrib/hstore_plperl
Tom Lane e3b7f7cc50 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
2018-06-18 15:55:06 -04:00
..
expected Fix contrib/hstore_plperl to look through scalar refs. 2018-06-18 15:55:06 -04:00
sql Fix contrib/hstore_plperl to look through scalar refs. 2018-06-18 15:55:06 -04:00
.gitignore
hstore_plperl--1.0.sql
hstore_plperl.c Fix contrib/hstore_plperl to look through scalar refs. 2018-06-18 15:55:06 -04:00
hstore_plperl.control
hstore_plperlu--1.0.sql
hstore_plperlu.control
Makefile Prevent accidental linking of system-supplied copies of libpq.so etc. 2018-04-03 16:26:05 -04:00