From: phd at sun.med.ru (Oleg Broytmann)
Date: Wed, 14 Apr 1999 08:17:33 GMT
Subject: bug in PyGreSQL module
In-Reply-To: <14099.48588.851795.102448@bitdiddle.cnri.reston.va.us>
References: <14099.48588.851795.102448@bitdiddle.cnri.reston.va.us>
Message-ID: <Pine.SOL2.3.96.SK.990414121636.19618E-100000@sun.med.ru>
X-UID: 541                                                  

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.





