Skip site navigation (1) Skip section navigation (2)

PyGreSQL-3.0 bug + patch

From: "Billy G(dot) Allie" <Bill(dot)Allie(at)mug(dot)org>
To: pygresql(at)vex(dot)net
Cc: pgsql-interfaces(at)postgresql(dot)org
Subject: PyGreSQL-3.0 bug + patch
Date: 2000-06-04 05:40:47
Message-ID: 200006040540.BAA13726@bajor.mug.org (view raw or flat)
Thread:
Lists: pgsql-interfaces
The fetch() function in pgmodule.c contains an error where it does not return 
the next row each time it is called.  It always returns the first row of the 
result set.  The following patch corrects the problem.  It also replaces the 
call to bzero() with a call to memset().  Both memset (twice) and bzero (once) 
were used in pgmodule.c.  I changed bzero to memset to be consistant in usage.
Finally, a string with an embedded newline is fixed.

pgsql-interfaces by date

Next:From: moenk SDate: 2000-06-04 14:17:28
Subject: jdbc, applet -> servlet;corba ??
Previous:From: NissimDate: 2000-06-03 16:12:15
Subject: JDBC setTimestamp/getTimestamp

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group