From: Christoph Haller <ch@rodos.fzk.de>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Andreas Kretschmer <akretschmer@despammed.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: how many tuples on a cursor?
Date: Mon, 02 May 2005 17:20:32 +0200
Message-ID: <42764540.EDC0C34C@rodos.fzk.de> (raw)
References: <20050502071358.GB5962@webserv.wug-glas.de>
<42760C37.BD6531A8@rodos.fzk.de>
<18483.1115046249@sss.pgh.pa.us>
Tom Lane wrote:
>
> Christoph Haller <ch@rodos.fzk.de> writes:
> > What else seems to work is MOVE 2147483647
> > (INT_MAX) and then get the max number of rows
> > by PQcmdTuples().
>
> I'd suggest "MOVE FORWARD ALL" rather than hard-wiring assumptions
> about the maximum possible value of infinity ;-)
>
Of course. I should have read the manual on this more carefully.
Regards, Christoph
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: ch@rodos.fzk.de, tgl@sss.pgh.pa.us, akretschmer@despammed.com
Subject: Re: how many tuples on a cursor?
In-Reply-To: <42764540.EDC0C34C@rodos.fzk.de>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox