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

pgsql: Further plperl cleanup: be more paranoid about checking the type

From: tgl(at)svr1(dot)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Further plperl cleanup: be more paranoid about checking the type
Date: 2004-11-23 00:21:36
Message-ID: 20041123002136.4B11B3A2BB4@svr1.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
Log Message:
-----------
Further plperl cleanup: be more paranoid about checking the type of
data returned from Perl.  Consolidate multiple bits of code to convert
a Perl hash to a tuple, and drive the conversion off the keys present
in the hash rather than the tuple column names, so we detect error if
the hash contains keys it shouldn't.  (This means keys not in the hash
will silently default to NULL, which seems ok to me.)  Fix a bunch of
reference-count leaks too.

Modified Files:
--------------
    pgsql/src/pl/plperl:
        plperl.c (r1.62 -> r1.63)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/pl/plperl/plperl.c.diff?r1=1.62&r2=1.63)
    pgsql/src/pl/plperl/test:
        test.expected (r1.1 -> r1.2)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/pl/plperl/test/test.expected.diff?r1=1.1&r2=1.2)
        test_queries.sql (r1.1 -> r1.2)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/pl/plperl/test/test_queries.sql.diff?r1=1.1&r2=1.2)

pgsql-committers by date

Next:From: User DfetterDate: 2004-11-23 09:31:21
Subject: dbi-link - dbi-link: Changed make_connection to make VIEWs Added
Previous:From: User ConniDate: 2004-11-22 21:40:18
Subject: press - pr: some typos

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