Re: removal of dangling temp tables

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: removal of dangling temp tables
Дата
Msg-id 201812280305.7us3unrlehxu@alvherre.pgsql
обсуждение исходный текст
Ответ на Re: removal of dangling temp tables  (Michael Paquier <michael@paquier.xyz>)
Ответы Re: removal of dangling temp tables  (Michael Paquier <michael@paquier.xyz>)
Список pgsql-hackers
On 2018-Dec-28, Michael Paquier wrote:

> On Thu, Dec 27, 2018 at 04:30:21PM -0300, Alvaro Herrera wrote:
> > We allow structs to receive new members at the end of the struct, since
> > this doesn't affect the offset of existing members; thus code already
> > compiled with the previous struct definition does not break.  AFAICS
> > there is no danger in backpatching that, moving that struct member at
> > the end of the struct.
> 
> Sure.  Now this comes to PGPROC, which I am not sure we can say is
> never manipulated as an array.

The server code allocates arrays, but that's fine because that code is
recompiled.  Extensions only pass pointers around -- they don't create
any additional arrays.

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


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

Предыдущее
От: Masahiko Sawada
Дата:
Сообщение: Re: [HACKERS] Block level parallel vacuum
Следующее
От: Thomas Munro
Дата:
Сообщение: Re: Synchronous replay take III