From: | Bruce Momjian <bruce(at)momjian(dot)us> |
---|---|
To: | Chris Mair <chrisnospam(at)1006(dot)org> |
Cc: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)postgresql(dot)org, pgsql-patches(at)postgresql(dot)org |
Subject: | Re: [HACKERS] selecting large result sets in psql using |
Date: | 2006-08-17 16:30:34 |
Message-ID: | 200608171630.k7HGUY609152@momjian.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-patches |
Chris Mair wrote:
> > At some point we ought to extend libpq enough to expose the V3-protocol
> > feature that allows partial fetches from portals; that would be a
> > cleaner way to implement this feature. However since nobody has yet
> > proposed a good API for this in libpq, I don't object to implementing
> > \u with DECLARE CURSOR for now.
> >
> > BTW, \u seems not to have any mnemonic value whatsoever ... isn't there
> > some other name we could use?
>
> True :)
> 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.
--
Bruce Momjian bruce(at)momjian(dot)us
EnterpriseDB http://www.enterprisedb.com
+ If your life is a hard drive, Christ can be your backup. +
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Eisentraut | 2006-08-17 16:32:13 | Autovacuum on by default? |
Previous Message | Magnus Hagander | 2006-08-17 16:30:17 | Re: pgsql-patches reply-to (was Re: [PATCHES] selecting |
From | Date | Subject | |
---|---|---|---|
Next Message | Joe Conway | 2006-08-17 16:37:19 | Re: pgsql-patches reply-to (was Re: [PATCHES] selecting |
Previous Message | Magnus Hagander | 2006-08-17 16:30:17 | Re: pgsql-patches reply-to (was Re: [PATCHES] selecting |