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

python - be: Fix Portal seeking.

From: jwp(at)pgfoundry(dot)org (James William Pye)
To: pgsql-committers(at)postgresql(dot)org
Subject: python - be: Fix Portal seeking.
Date: 2005-08-17 02:23:27
Message-ID: 20050817022327.9477D1125017@pgfoundry.org (view raw or flat)
Thread:
Lists: pgsql-committers
Log Message:
-----------
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.

Modified Files:
--------------
    be/src/call:
        portal.c (r1.6 -> r1.7)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/python/be/src/call/portal.c.diff?r1=1.6&r2=1.7)

pgsql-committers by date

Next:From: Bruce MomjianDate: 2005-08-17 03:51:02
Subject: pgsql: Fix FSM warning to mention increasing max_fsm_pages.
Previous:From: Bruce MomjianDate: 2005-08-17 01:45:32
Subject: pgsql: Minor cleanup.

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