Re: PL/pgSQL bug?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: PL/pgSQL bug?
Дата
Msg-id 12545.997454818@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: PL/pgSQL bug?  (Jan Wieck <JanWieck@Yahoo.com>)
Список pgsql-hackers
I said:
> SPI is doing CommandCounterIncrements at bizarre times, and in
> particular you get fewer CommandCounterIncrements while planning
> and executing a plpgsql function than you do while re-executing
> an already-planned one.

s/fewer/more/ ... guess I'm not fully awake yet ... but anyway,
SPI's handling of CommandCounterIncrement is certainly broken.
Particularly for cursors --- a CCI for every FETCH will not do,
you want the whole scan to be run with the same commandId.
        regards, tom lane


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Re: Null-safe GiST interface (proposal)
Следующее
От: Tom Lane
Дата:
Сообщение: Re: PL/pgSQL bug?