Re: SPI memory overrun details

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: SPI memory overrun details
Дата
Msg-id 29639.1101399248@sss.pgh.pa.us
обсуждение исходный текст
Ответ на SPI memory overrun details  ("Katsaros Kwn/nos" <ntinos@aueb.gr>)
Список pgsql-general
"Katsaros Kwn/nos" <ntinos@aueb.gr> writes:
> I read in the documentation of SPI functions that an SPI_cursor is used
> to avoid memory overrun in cases where a query returns many rows. I'd
> like to learn more about this. Is their any place that I could find more
> detailed information (e.g. max size of results, threshold - available
> memory etc.)?

You could look at plpgsql's use of SPI cursors for an example.

            regards, tom lane

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

Предыдущее
От: "Joshua D. Drake"
Дата:
Сообщение: Happy Thanksgiving
Следующее
От: Tom Lane
Дата:
Сообщение: Re: VACUUM ANALYZE question - PostgreSQL performance tests