diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2012-09-29 12:41:00 -0400 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2012-09-29 12:41:00 -0400 |
commit | db0af74af28663e060e8c5d6f8dd0927bb572f25 (patch) | |
tree | 287e081f159932b11bcca1be30feca96dca833f4 /doc/src | |
parent | 811ca1300bf8eb50ff1a84082619ba770126cdc9 (diff) | |
download | postgresql-db0af74af28663e060e8c5d6f8dd0927bb572f25.tar.gz postgresql-db0af74af28663e060e8c5d6f8dd0927bb572f25.zip |
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.
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/sgml/plpython.sgml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/src/sgml/plpython.sgml b/doc/src/sgml/plpython.sgml index c15188c3e00..dd50c4475da 100644 --- a/doc/src/sgml/plpython.sgml +++ b/doc/src/sgml/plpython.sgml @@ -302,7 +302,7 @@ $$ LANGUAGE plpythonu; <para> PostgreSQL <type>smallint</type> and <type>int</type> are converted to Python <type>int</type>. - PostgreSQL <type>bigint</type> is converted + PostgreSQL <type>bigint</type> and <type>oid</type> are converted to <type>long</type> in Python 2 and to <type>int</type> in Python 3. </para> |