Re: Let's get rid of SPI_push/SPI_pop

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Let's get rid of SPI_push/SPI_pop
Дата
Msg-id 16696.1478530048@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Let's get rid of SPI_push/SPI_pop  (Pavel Stehule <pavel.stehule@gmail.com>)
Ответы Re: Let's get rid of SPI_push/SPI_pop
Re: Let's get rid of SPI_push/SPI_pop
Список pgsql-hackers
Pavel Stehule <pavel.stehule@gmail.com> writes:
> 2016-11-07 2:16 GMT+01:00 Tom Lane <tgl@sss.pgh.pa.us>:
>> So I think we should just delete these functions and adjust SPI_connect
>> and SPI_finish so that they just push/pop a context level unconditionally.
>> (Which will make them simpler, not more complicated.)

> cannot be there some performance impacts?

Any impact will be for the better, since we're removing logic.
I haven't gone through it in detail, but it might be as simple
as removing _SPI_curid and code that manipulates it.
        regards, tom lane



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

Предыдущее
От: Magnus Hagander
Дата:
Сообщение: Re: Streaming basebackups vs pg_stat_tmp
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: [COMMITTERS] pgsql: pg_xlogdump: Add NLS