From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Bruce Momjian <bruce(at)momjian(dot)us> |
Cc: | Chris Mair <chrisnospam(at)1006(dot)org>, pgsql-hackers(at)postgresql(dot)org, pgsql-patches(at)postgresql(dot)org |
Subject: | Re: [HACKERS] selecting large result sets in psql using cursors |
Date: | 2006-08-17 17:28:57 |
Message-ID: | 17818.1155835737@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-patches |
Bruce Momjian <bruce(at)momjian(dot)us> writes:
> Chris Mair wrote:
>> Since buffer commands all have a single char I wanted a single char one
>> too. The "c" for "cursor" was taken already, so i choose the "u" (second
>> char in "cursor"). If somebody has a better suggestion, let us know ;)
> I think a new backslash variable isn't the way to go. I would use a
> \pset variable to control what is happening.
That seems like it would be very awkward to use: you'd have to type
quite a bit to go from one mode to the other.
Personally I think that insisting on a one-letter command name is not
such a good idea if you can't pick a reasonably memorable name.
I'd suggest "\gc" (\g with a Cursor) or "\gb" (\g for a Big query)
or some such.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Matthew T. O'Connor | 2006-08-17 17:29:57 | Re: Autovacuum on by default? |
Previous Message | Larry Rosenman | 2006-08-17 17:28:00 | Re: Autovacuum on by default? |
From | Date | Subject | |
---|---|---|---|
Next Message | Matthew T. O'Connor | 2006-08-17 17:34:00 | Re: Adjust autovacuum naptime automatically |
Previous Message | Tom Lane | 2006-08-17 17:24:34 | Re: pgsql-patches reply-to (was Re: [PATCHES] selecting |