| From: | <chrisnospam(at)1006(dot)org> |
|---|---|
| To: | <pgsql-patches(at)postgresql(dot)org> |
| Subject: | updated patch for selecting large results sets in psql using cursors |
| Date: | 2006-08-28 14:29:38 |
| Message-ID: | 17911.193.206.186.101.1156775378.squirrel@www.endian.it |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers pgsql-patches |
Hi there,
here comes the latest version (version 7) of the patch to handle large
result sets with psql. As previously discussed, a cursor is used
for SELECT queries when \set FETCH_COUNT some_value > 0
(defaults to 100 if FETCH_COUNT is set with no value).
Comparing to the previous version, the patch actually got smaller and is
less invasive, because I doesn't have to deal with a new command and
can share some more code with SendQuery() in common.c.
Bye,
Chris.
--
Chris Mair
http://www.1006.org
| Attachment | Content-Type | Size |
|---|---|---|
| psql_cursor-7.patch | text/x-patch | 8.0 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | chrisnospam | 2006-08-28 14:35:17 | Re: selecting large result sets in psql using |
| Previous Message | Alvaro Herrera | 2006-08-28 14:18:35 | Re: [HACKERS] Trivial patch to double vacuum speed on tables with no indexes |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | chrisnospam | 2006-08-28 14:35:17 | Re: selecting large result sets in psql using |
| Previous Message | Alvaro Herrera | 2006-08-28 14:18:35 | Re: [HACKERS] Trivial patch to double vacuum speed on tables with no indexes |