bug in PyGreSQL module

Oleg Broytmann phd at sun.med.ru
Wed Apr 14 04:17:33 EDT 1999


On Tue, 13 Apr 1999, Jeremy Hylton wrote:
> The nulls have been converted to 0.  This seems straightforward given
> the C code in getresult.  If the field is an integer, the libpq value
> is always handed off to PyInt_FromLong.  I would think that there
> should be an explicit check for NULLs in pg_getresult that converts
> them to None.

   Have you subscribed to PyGres mailing list? Contact the list and report
this.

> Jeremy
> 

Oleg.
---- 
    Oleg Broytmann  National Research Surgery Centre  http://sun.med.ru/~phd/
           Programmers don't die, they just GOSUB without RETURN.





More information about the Python-list mailing list