pgsql: Use generic attribute management in PL/Python Switch the

From: petere(at)postgresql(dot)org (Peter Eisentraut)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Use generic attribute management in PL/Python Switch the
Date: 2009-08-25 08:14:42
Message-ID: 20090825081442.B375F75331E@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Use generic attribute management in PL/Python

Switch the implementation of the plan and result types to generic attribute
management, as described at <http://docs.python.org/extending/newtypes.html>.
This modernizes and simplifies the code a bit and prepares for Python 3.1,
where the old way doesn't work anymore.

Modified Files:
--------------
pgsql/src/pl/plpython:
plpython.c (r1.125 -> r1.126)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/pl/plpython/plpython.c?r1=1.125&r2=1.126)
pgsql/src/pl/plpython/expected:
plpython_spi.out (r1.2 -> r1.3)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/pl/plpython/expected/plpython_spi.out?r1=1.2&r2=1.3)
pgsql/src/pl/plpython/sql:
plpython_spi.sql (r1.3 -> r1.4)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/pl/plpython/sql/plpython_spi.sql?r1=1.3&r2=1.4)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2009-08-25 12:44:59 pgsql: Enhanced error context support in PL/Python Extract the "while
Previous Message User Maosen 2009-08-25 00:26:32 pgexternaltable - src: add dir parallel