pgsql: Remove usage of &PL_sv_undef in hashes and arrays

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема pgsql: Remove usage of &PL_sv_undef in hashes and arrays
Дата
Msg-id E1QR5Zn-0001TT-EY@gemulon.postgresql.org
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: pgsql: Make message more consistent
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: pgsql: The row-version chaining in Serializable Snapshot Isolation was