Skip site navigation (1) Skip section navigation (2)

pgsql: Fix incorrect tests for undef Perl values in some places in

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix incorrect tests for undef Perl values in some places in
Date: 2007-06-28 17:50:17
Message-ID: 20070628175017.BF5989FB8C7@postgresql.org (view raw or flat)
Thread:
Lists: 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_1_STABLE

Modified Files:
--------------
    pgsql/src/pl/plperl:
        plperl.c (r1.94.2.5 -> r1.94.2.6)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/pl/plperl/plperl.c.diff?r1=1.94.2.5&r2=1.94.2.6)

pgsql-committers by date

Next:From: Tom LaneDate: 2007-06-28 17:50:24
Subject: pgsql: Fix incorrect tests for undef Perl values in some places in
Previous:From: Tom LaneDate: 2007-06-28 17:50:12
Subject: pgsql: Fix incorrect tests for undef Perl values in some places in

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group