Re: [PERFORM] psql -A (unaligned format) eats too much memory

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [PERFORM] psql -A (unaligned format) eats too much memory
Дата
Msg-id 20512.1149521250@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [PERFORM] psql -A (unaligned format) eats too much memory  ("Jim C. Nasby" <jnasby@pervasive.com>)
Ответы Re: [PERFORM] psql -A (unaligned format) eats too much memory  ("Jim C. Nasby" <jnasby@pervasive.com>)
Re: [PERFORM] psql -A (unaligned format) eats too much  (Zoltan Boszormenyi <zboszor@dunaweb.hu>)
Список pgsql-hackers
"Jim C. Nasby" <jnasby@pervasive.com> writes:
> I've been able to verify this on 8.1.4; psql -A -t -c 'SELECT * FROM
> largetable' > /dev/null results in psql consuming vast quantities of
> memory. Why is this?

Is it different without the -A?

I'm reading this as just another uninformed complaint about libpq's
habit of buffering the whole query result.  It's possible that there's
a memory leak in the -A path specifically, but nothing said so far
provided any evidence for that.
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: "Jim C. Nasby"
Дата:
Сообщение: Re: [PERFORM] psql -A (unaligned format) eats too much memory
Следующее
От: "Jim C. Nasby"
Дата:
Сообщение: Re: [PERFORM] psql -A (unaligned format) eats too much memory