Re: retun cursor

From: Stephan Szabo <sszabo(at)megazone23(dot)bigpanda(dot)com>
To: Madhavi Daroor <madhavi(at)zoniac(dot)com>
Cc: <pgsql-general(at)PostgreSQL(dot)org>
Subject: Re: retun cursor
Date: 2002-04-08 16:45:09
Message-ID: 20020408093629.F76539-100000@megazone23.bigpanda.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Sat, 8 Apr 2000, Madhavi Daroor wrote:

> Hi,
> I followed the steps that you told me. An it worked fine. But I have one
> problem and that is......when I try to fetch all the resords of a table, it
> gives me the folowing error
>
> psqldb=# fetch all from "<unnamed cursor 4>";
> less: not found

The pager for doing multiple page output isn't found. You should be able
to turn it off with
\pset pager
I believe or you could check your PAGER environment variable.

> And please explain to me how I could execute this in java.
I don't know much about the java interface, but I'd guess it's pretty much
the same as sending any other queries.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Clinton Adams 2002-04-08 16:49:20 Re: Do I just not understand count()
Previous Message Janine Sisk 2002-04-08 16:23:12 Re: Tcl_CreateSlave error (pg 7.1.2, RH 7.2)