Re: [PATCHES] selecting large result sets in psql using - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [PATCHES] selecting large result sets in psql using
Date
Msg-id 16722.1155991841@sss.pgh.pa.us
Whole thread Raw
In response to Re: [PATCHES] selecting large result sets in psql using  (Bruce Momjian <bruce@momjian.us>)
Responses Re: [PATCHES] selecting large result sets in psql using
List pgsql-hackers
Bruce Momjian <bruce@momjian.us> writes:
> True.  They could even put it in .psqlrc if they want.  Basically need a
> way to modify \g.  Seems a \set is the way we have always done such
> modifications in the past.  The big question is whether this is somehow
> different.  Personally, I don't think so.

If you want a \set variable, then at least make it do something useful:
make it an integer var that sets the fetch count, rather than hard-wiring
the count as is done in Chris' existing patch.  Zero (or perhaps unset)
disables.
        regards, tom lane


pgsql-hackers by date:

Previous
From: "Joshua D. Drake"
Date:
Subject: Re: BugTracker (Was: Re: 8.2 features status)
Next
From: Tom Lane
Date:
Subject: Re: BugTracker (Was: Re: 8.2 features status)