| От | Tom Lane |
|---|---|
| Тема | Re: [PATCHES] selecting large result sets in psql using |
| Дата | |
| Msg-id | 12409.1156286015@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: [PATCHES] selecting large result sets in psql using (<chrisnospam@1006.org>) |
| Ответы |
Re: [PATCHES] selecting large result sets in psql using
|
| Список | pgsql-hackers |
<chrisnospam@1006.org> writes:
> To cut the Gordon knot I'm going to suggest we use:
> \set CURSOR_FETCH fetch_count
> and \g and ; are modified such that when they see
> this variable set to fetch_count > 0 and the buffer
> is a select they would use the modified fetch/output code.
> Does this sound reasonable to everyone?
OK with me, but maybe call the variable FETCH_COUNT, to avoid the
presupposition that the implementation uses a cursor. As I mentioned
before, I expect we'll someday rework it to not use that.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера