pgsql: PL/Python: Convert oid to long/int

Started by Peter Eisentrautalmost 14 years ago1 messagescomitters
Jump to latest
#1Peter Eisentraut
peter_e@gmx.net

PL/Python: Convert oid to long/int

oid is a numeric type, so transform it to the appropriate Python
numeric type like the other ones.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/db0af74af28663e060e8c5d6f8dd0927bb572f25

Modified Files
--------------
doc/src/sgml/plpython.sgml | 2 +-
src/pl/plpython/expected/plpython_types.out | 28 +++++++++++++++++++++++++
src/pl/plpython/expected/plpython_types_3.out | 28 +++++++++++++++++++++++++
src/pl/plpython/plpy_typeio.c | 10 +++++++++
src/pl/plpython/sql/plpython_types.sql | 10 +++++++++
5 files changed, 77 insertions(+), 1 deletions(-)