pgsql: Remove usage of &PL_sv_undef in hashes and arrays - Mailing list pgsql-committers

From Alvaro Herrera
Subject pgsql: Remove usage of &PL_sv_undef in hashes and arrays
Date
Msg-id E1QR5Zn-0001TT-EY@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Remove usage of &PL_sv_undef in hashes and arrays

According to perlguts, &PL_sv_undef is not the right thing to use in
those cases because it doesn't behave the same way as an undef value via
Perl code.  Seems the intuitive way to deal with undef values is subtly
enough broken that it's hard to notice when misused.

The broken uses got inadvertently introduced in commit
87bb2ade2ce646083f39d5ab3e3307490211ad04 by Alexey Klyukin, Alex
Hunsaker and myself on 2011-02-17; no backpatch is necessary.

Per testing report from Greg Mullane.

Author: Alex Hunsaker

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/7de38741c0438cdece0e22699de8ffd5797735fb

Modified Files
--------------
src/pl/plperl/plperl.c |   16 +++++++++++++---
1 files changed, 13 insertions(+), 3 deletions(-)


pgsql-committers by date:

Previous
From: Alvaro Herrera
Date:
Subject: pgsql: Make message more consistent
Next
From: Heikki Linnakangas
Date:
Subject: pgsql: The row-version chaining in Serializable Snapshot Isolation was