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:49:59
Message-ID: 20070628174959.B96549FB7C3@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
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.

Modified Files:
--------------
pgsql/src/pl/plperl:
plperl.c (r1.128 -> r1.129)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/pl/plperl/plperl.c.diff?r1=1.128&r2=1.129)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2007-06-28 17:50:12 pgsql: Fix incorrect tests for undef Perl values in some places in
Previous Message Neil Conway 2007-06-28 06:40:17 pgsql: Add the function's volatility to the output of psql's \df+