Re: where does postgres keep the query result until it is returned?

Поиск
Список
Период
Сортировка
От Sam Mason
Тема Re: where does postgres keep the query result until it is returned?
Дата
Msg-id 20100917195930.GI7862@samason.me.uk
обсуждение исходный текст
Ответ на Re: where does postgres keep the query result until it is returned?  (Willy-Bas Loos <willybas@gmail.com>)
Ответы Re: where does postgres keep the query result until it is returned?  (Merlin Moncure <mmoncure@gmail.com>)
Re: where does postgres keep the query result until it is returned?  (Willy-Bas Loos <willybas@gmail.com>)
Список pgsql-general
On Fri, Sep 17, 2010 at 04:51:46PM +0200, Willy-Bas Loos wrote:
> i have a function that produces a result in xml.
> that is one row, one value even, but it grows pretty large.
> how is that handled?

Rows are sent back in the entireity, so the PG instance would need
enough memory to work with that row.  When you're running a 32bit
version of PG, values whose size is beyond ~100MB are a bit touch and go
whether it will work.

--
  Sam  http://samason.me.uk/

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

Предыдущее
От: bricklen
Дата:
Сообщение: Re: PLPGSQL function to search function source for a list of terms
Следующее
От: Edwin Plauchu
Дата:
Сообщение: How to generate XML output from a Store Procedure