Use generic attribute management in PL/Python
Peter Eisentraut <peter_e@gmx.net>
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.
Files
| Path | Change | +/− |
|---|---|---|
| src/pl/plpython/expected/plpython_spi.out | modified | +21 −0 |
| src/pl/plpython/plpython.c | modified | +28 −28 |
| src/pl/plpython/sql/plpython_spi.sql | modified | +18 −0 |