Re: Getting ROW_COUNT from MOVE in 8.3 - Mailing list pgsql-general

From Peter Eisentraut
Subject Re: Getting ROW_COUNT from MOVE in 8.3
Date
Msg-id 1287944726.24847.0.camel@vanquo.pezone.net
Whole thread Raw
In response to Getting ROW_COUNT from MOVE in 8.3  ("Reuven M. Lerner" <reuven@lerner.co.il>)
Responses Re: Getting ROW_COUNT from MOVE in 8.3
List pgsql-general
On sön, 2010-10-24 at 15:41 +0200, Reuven M. Lerner wrote:
> But is there any way for me to get, in 8.3, the
> number of rows over which a cursor has skipped?  Keep in mind that
> after
> this count has executed, we're then going to rewind the cursor,
> chunking
> through the result set with a separate function.

You could store the query result in a temporary table.


pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: What is "return code" for WAL send command
Next
From: "Francisco Figueiredo Jr."
Date:
Subject: Re: Windows 2008/IIS cannot connect to Postgres 9.0