[PyGreSQL] Return value for OIDs
D'Arcy J.M. Cain
darcy at PyGreSQL.org
Fri Feb 23 16:53:46 EST 2007
On Thu, 22 Feb 2007 18:48:20 +0100
Christoph Zwerschke <cito at online.de> wrote:
> I noticed that in pgmodule.c in the function pgsource_oidstatus(),
> the Oid is treated as a long in C and returned as an int in Python,
> while in the function pg_query(), the oid is treated as a long long
> in C and returned as a long in Python. I think we should handle this
> consistently. I think we can safely assume that an Oid has 4 bytes.
No argument from me. Go ahead.
--
D'Arcy J.M. Cain
PyGreSQL Development Group
http://www.PyGreSQL.org
More information about the PyGreSQL
mailing list