pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Fix contrib/hstore_plperl to look through scalar refs. 4+ messages / 1 participants [nested] [flat]
* pgsql: Fix contrib/hstore_plperl to look through scalar refs. @ 2018-06-18 19:55 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 4+ messages in thread From: Tom Lane @ 2018-06-18 19:55 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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 Branch ------ REL9_5_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/645929c545efd06805eda9c9cce5701983915c7f Modified Files -------------- contrib/hstore_plperl/expected/hstore_plperl.out | 19 +++++++++++++++++++ contrib/hstore_plperl/hstore_plperl.c | 14 +++++++++++++- contrib/hstore_plperl/sql/hstore_plperl.sql | 19 +++++++++++++++++++ 3 files changed, 51 insertions(+), 1 deletion(-) ^ permalink raw reply [nested|flat] 4+ messages in thread
* pgsql: Fix contrib/hstore_plperl to look through scalar refs. @ 2018-06-18 19:55 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 4+ messages in thread From: Tom Lane @ 2018-06-18 19:55 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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 Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/e3b7f7cc50630dac958a48b533cce04e4222892b Modified Files -------------- contrib/hstore_plperl/expected/hstore_plperl.out | 19 +++++++++++++++++++ contrib/hstore_plperl/hstore_plperl.c | 14 +++++++++++++- contrib/hstore_plperl/sql/hstore_plperl.sql | 19 +++++++++++++++++++ 3 files changed, 51 insertions(+), 1 deletion(-) ^ permalink raw reply [nested|flat] 4+ messages in thread
* pgsql: Fix contrib/hstore_plperl to look through scalar refs. @ 2018-06-18 19:55 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 4+ messages in thread From: Tom Lane @ 2018-06-18 19:55 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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 Branch ------ REL9_6_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/1bebfb9b63657c9d3257e3ba374e477138ca22af Modified Files -------------- contrib/hstore_plperl/expected/hstore_plperl.out | 19 +++++++++++++++++++ contrib/hstore_plperl/hstore_plperl.c | 14 +++++++++++++- contrib/hstore_plperl/sql/hstore_plperl.sql | 19 +++++++++++++++++++ 3 files changed, 51 insertions(+), 1 deletion(-) ^ permalink raw reply [nested|flat] 4+ messages in thread
* pgsql: Fix contrib/hstore_plperl to look through scalar refs. @ 2018-06-18 19:55 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 4+ messages in thread From: Tom Lane @ 2018-06-18 19:55 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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 Branch ------ REL_10_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/7594b7a53366f6c262103acd161e6fee0a30e5c2 Modified Files -------------- contrib/hstore_plperl/expected/hstore_plperl.out | 19 +++++++++++++++++++ contrib/hstore_plperl/hstore_plperl.c | 14 +++++++++++++- contrib/hstore_plperl/sql/hstore_plperl.sql | 19 +++++++++++++++++++ 3 files changed, 51 insertions(+), 1 deletion(-) ^ permalink raw reply [nested|flat] 4+ messages in thread
end of thread, other threads:[~2018-06-18 19:55 UTC | newest] Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2018-06-18 19:55 pgsql: Fix contrib/hstore_plperl to look through scalar refs. Tom Lane <tgl@sss.pgh.pa.us> 2018-06-18 19:55 pgsql: Fix contrib/hstore_plperl to look through scalar refs. Tom Lane <tgl@sss.pgh.pa.us> 2018-06-18 19:55 pgsql: Fix contrib/hstore_plperl to look through scalar refs. Tom Lane <tgl@sss.pgh.pa.us> 2018-06-18 19:55 pgsql: Fix contrib/hstore_plperl to look through scalar refs. Tom Lane <tgl@sss.pgh.pa.us>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox