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

snapshot - src: Since oracle does return '0' for rowcount, even when

From: cunha17(at)pgfoundry(dot)org (User Cunha17)
To: pgsql-committers(at)postgresql(dot)org
Subject: snapshot - src: Since oracle does return '0' for rowcount, even when
Date: 2007-09-18 03:14:22
Message-ID: 20070918031422.4CF5521767F@pgfoundry.org (view raw or flat)
Thread:
Lists: pgsql-committers
Log Message:
-----------
Since oracle does return '0' for rowcount, even when there is more than zero rows returned, it broke the code.
Now there is a workaround based only on fetchrow_array behaviour (returning undef or error when there is no more records to retrieve) and the count of records retrieved with the current fetch.

Modified Files:
--------------
    src/pl:
        performCompleteRefresh.pl (r1.7 -> r1.8)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/snapshot/src/pl/performCompleteRefresh.pl.diff?r1=1.7&r2=1.8)
    src/pl/db/oracle:
        cursor.pl (r1.1 -> r1.2)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/snapshot/src/pl/db/oracle/cursor.pl.diff?r1=1.1&r2=1.2)

pgsql-committers by date

Next:From: User Cunha17Date: 2007-09-18 03:31:06
Subject: snapshot - src: Fixing FastRefresh for oracle.
Previous:From: Bruce MomjianDate: 2007-09-18 01:52:39
Subject: pgsql: Doc reminder that integer pg version also needs updating.

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