diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2006-08-29 22:25:08 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2006-08-29 22:25:08 +0000 |
commit | c2f60711d25b256dbe2c1ddce833c5c69ca051cc (patch) | |
tree | 37f805b925c2d8827d27e9930351cf778fdc9afb /src/backend/tcop/postgres.c | |
parent | 7c5ac5ce2234688a1048d4c26d9fa7cabeaa004f (diff) | |
download | postgresql-c2f60711d25b256dbe2c1ddce833c5c69ca051cc.tar.gz postgresql-c2f60711d25b256dbe2c1ddce833c5c69ca051cc.zip |
Create a FETCH_COUNT parameter that causes psql to execute SELECT-like
queries via a cursor, fetching a limited number of rows at a time and
therefore not risking exhausting memory. A disadvantage of the scheme
is that 'aligned' output mode will align each group of rows independently
leading to odd-looking output, but all the other output formats work
reasonably well. Chris Mair, with some additional hacking by moi.
Diffstat (limited to 'src/backend/tcop/postgres.c')
0 files changed, 0 insertions, 0 deletions