pgsql: Fix incorrect tests for undef Perl values in some places in - Mailing list pgsql-committers

From tgl@postgresql.org (Tom Lane)
Subject pgsql: Fix incorrect tests for undef Perl values in some places in
Date
Msg-id 20070628175024.8C7699FB99C@postgresql.org
Whole thread Raw
List pgsql-committers
Log Message:
-----------
Fix incorrect tests for undef Perl values in some places in plperl.c.
The correct test for defined-ness is SvOK(sv), not anything involving
SvTYPE.  Per bug #3415 from Matt Taylor.
Back-patch as far as 8.0; no apparent problem in 7.x.

Tags:
----
REL8_0_STABLE

Modified Files:
--------------
    pgsql/src/pl/plperl:
        plperl.c (r1.67.4.6 -> r1.67.4.7)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/pl/plperl/plperl.c.diff?r1=1.67.4.6&r2=1.67.4.7)

pgsql-committers by date:

Previous
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Fix incorrect tests for undef Perl values in some places in
Next
From: momjian@postgresql.org (Bruce Momjian)
Date:
Subject: pgsql: Done: > * -Reduce checkpoint performance degredation by forcing