Fix Portal seeking. _port_seek was mostly broken. Subsequently, seek based
operations like __getitem__ and __len__ were as well. Do error checking in
port_read to be sure the given object is a PyInt.
Additionally, add the "scroll" method. Like seek, but implies whence = 1, and
does not return the position difference.
portal.c (r1.6 -> r1.7)
pgsql-committers by date
|Next:||From: Bruce Momjian||Date: 2005-08-17 03:51:02|
|Subject: pgsql: Fix FSM warning to mention increasing max_fsm_pages.|
|Previous:||From: Bruce Momjian||Date: 2005-08-17 01:45:32|
|Subject: pgsql: Minor cleanup.|