pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: tgl@postgresql.org
To: pgsql-committers@postgresql.org
Subject: pgsql: Defend against possible crash if a plpython function does not
Date: Fri,  3 Apr 2009 16:59:43 +0000 (UTC)
Message-ID: <20090403165943.1862F754ADE@cvs.postgresql.org> (raw)

Log Message:
-----------
Defend against possible crash if a plpython function does not specify names
for its arguments.  Also add a regression test, since someone apparently
changed every single plpython test case to use only named parameters; else
we'd have noticed this sooner.

Euler Taveira de Oliveira, per a report from Alvaro

Modified Files:
--------------
    pgsql/src/pl/plpython/expected:
        plpython_function.out (r1.11 -> r1.12)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/pl/plpython/expected/plpython_function.out?r1=1.1...)
        plpython_test.out (r1.7 -> r1.8)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/pl/plpython/expected/plpython_test.out?r1=1.7&...)
    pgsql/src/pl/plpython:
        plpython.c (r1.119 -> r1.120)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/pl/plpython/plpython.c?r1=1.119&r2=1.120)
    pgsql/src/pl/plpython/sql:
        plpython_function.sql (r1.11 -> r1.12)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/pl/plpython/sql/plpython_function.sql?r1=1.11&...)
        plpython_test.sql (r1.4 -> r1.5)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/pl/plpython/sql/plpython_test.sql?r1=1.4&r2=1...)




view thread (2+ messages)  latest in thread

Message-ID: <20090403165943.1862F754ADE@cvs.postgresql.org>
Permalink:  ../20090403165943.1862F754ADE@cvs.postgresql.org/
Also on:    postgresql.org/message-id/20090403165943.1862F754ADE@cvs.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: tgl@postgresql.org
  Subject: Re: pgsql: Defend against possible crash if a plpython function does not
  In-Reply-To: <20090403165943.1862F754ADE@cvs.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox