FETCH from scroll cursor does not return count in libpq PQcmdStatus - Mailing list pgsql-hackers

From Knut P. Lehre
Subject FETCH from scroll cursor does not return count in libpq PQcmdStatus
Date
Msg-id a8e2e4201eff.45d88afe@broadpark.no
Whole thread Raw
Responses Re: FETCH from scroll cursor does not return count in libpq PQcmdStatus  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Using libpq with pg 8.2.1 on WinXP Pro SP2.
After a PQExec with a fetch from a scroll cursor, I only get "FETCH" from PQcmdStatus, and not "FETCH count" as
describedin the 8.2.1 docs. However, PQntuples returns the number of fetched rows.  If I replace the FETCH by a MOVE,
PQcmdStatusreturns "MOVE count".
 
The discussion we had on irc #postgresql suggested that this might be a bug, or have we missed some points regarding
theuse of scroll cursors?
 



pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: [COMMITTERS] pgsql: Better fix for determining minimum and maximum int64 values that
Next
From: Tom Lane
Date:
Subject: Re: Plan invalidation design