pgsql: Improve PL/Python elog output When the elog functions (plpy.info

From: petere(at)postgresql(dot)org (Peter Eisentraut)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Improve PL/Python elog output When the elog functions (plpy.info
Date: 2009-11-03 11:05:03
Message-ID: 20091103110503.28509753FB7@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Improve PL/Python elog output

When the elog functions (plpy.info etc.) get a single argument, just print
that argument instead of printing the single-member tuple like ('foo',).

Modified Files:
--------------
pgsql/src/pl/plpython:
plpython.c (r1.131 -> r1.132)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/pl/plpython/plpython.c?r1=1.131&r2=1.132)
pgsql/src/pl/plpython/expected:
plpython_import.out (r1.2 -> r1.3)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/pl/plpython/expected/plpython_import.out?r1=1.2&r2=1.3)
plpython_spi.out (r1.3 -> r1.4)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/pl/plpython/expected/plpython_spi.out?r1=1.3&r2=1.4)
plpython_test.out (r1.12 -> r1.13)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/pl/plpython/expected/plpython_test.out?r1=1.12&r2=1.13)
plpython_trigger.out (r1.5 -> r1.6)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/pl/plpython/expected/plpython_trigger.out?r1=1.5&r2=1.6)
pgsql/src/pl/plpython/sql:
plpython_test.sql (r1.8 -> r1.9)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/pl/plpython/sql/plpython_test.sql?r1=1.8&r2=1.9)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2009-11-03 14:33:40 Re: pgsql: In psql, show view definition only with \d+, not with \d The
Previous Message Peter Eisentraut 2009-11-03 10:34:47 pgsql: In psql, show view definition only with \d+, not with \d The