snapshot - src: Since oracle does return '0' for rowcount, even when - Mailing list pgsql-committers

From cunha17@pgfoundry.org (User Cunha17)
Subject snapshot - src: Since oracle does return '0' for rowcount, even when
Date
Msg-id 20070918031422.4CF5521767F@pgfoundry.org
Whole thread Raw
List 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
recordsto 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:

Previous
From: momjian@postgresql.org (Bruce Momjian)
Date:
Subject: pgsql: Doc reminder that integer pg version also needs updating.
Next
From: cunha17@pgfoundry.org (User Cunha17)
Date:
Subject: snapshot - src: Fixing FastRefresh for oracle.