OSDN Git Service

http://archives.postgresql.org/pgsql-bugs/2002-06/msg00086.php and never
authorBruce Momjian <bruce@momjian.us>
Thu, 15 Aug 2002 03:31:45 +0000 (03:31 +0000)
committerBruce Momjian <bruce@momjian.us>
Thu, 15 Aug 2002 03:31:45 +0000 (03:31 +0000)
commit147aa84c1a0c4ed6444696e04881e938f38c3c20
tree58d9827e6324f7d85e686fc15c6d9c8cb268a8fa
parentdb147006c103b67a23fb63a2d5ed08c92a6c2a80
archives.postgresql.org/pgsql-bugs/2002-06/msg00086.php and never
saw a fix offered up.  Since I'm gearing up to use Postgres and Python
soon, I figured I'd have a hand at trying to get this sucker addressed.
Apologies if this has already been plugged.  I looked in the archives
and never saw a response.

At any rate, I must admit I don't think I fully understand the
implications of some of the changes I made even though they appear to be
straight forward.  We all know the devil is in the details.  Anyone more
knowledgeable is requested to review my changes. :(

I also updated the advanced.py script in a somewhat nonsensical fashion
to make use of an int8 field in an effort to test this change.  It seems
to run okay, however, this is by no means an all exhaustive test.  So,
it's possible that a bumpy road may lay ahead for some.  On the other
hand...overflows (hopefully) previously lurked (long -> int conversion).

Greg Copeland
src/interfaces/python/pgmodule.c
src/interfaces/python/tutorial/advanced.py