From db0af74af28663e060e8c5d6f8dd0927bb572f25 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Sat, 29 Sep 2012 12:41:00 -0400 Subject: 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. --- doc/src/sgml/plpython.sgml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/src') 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; PostgreSQL smallint and int are converted to Python int. - PostgreSQL bigint is converted + PostgreSQL bigint and oid are converted to long in Python 2 and to int in Python 3. -- cgit v1.2.3