Re: pgsql: Fast ALTER TABLE ADD COLUMN with a non-NULL default

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: pgsql: Fast ALTER TABLE ADD COLUMN with a non-NULL default
Дата
Msg-id CAA8=A7_p3r4GiEV9=nbiwy8=skFTzRN2OSvLN+Un1gJLPwdusA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: pgsql: Fast ALTER TABLE ADD COLUMN with a non-NULL default  (Andres Freund <andres@anarazel.de>)
Ответы Re: pgsql: Fast ALTER TABLE ADD COLUMN with a non-NULL default  (Andres Freund <andres@anarazel.de>)
Список pgsql-committers
On Wed, Mar 28, 2018 at 11:30 AM, Andres Freund <andres@anarazel.de> wrote:
> Hi,
>
> On 2018-03-28 00:56:10 +0000, Andrew Dunstan wrote:
>> Fast ALTER TABLE ADD COLUMN with a non-NULL default
>
>> src/backend/executor/execExprInterp.c       |   2 +-
>
> I bet this'll break JITed tuple deforming... We'll have to emit a call
> to the new slot missingattrs function, instead of using memset directly.
>
> Do you want to attempt to take care of it, or should I?
>

Please do. I guess I need to do some enabling of that in my test setup.

cheers

andrew

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


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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: pgsql: Fast ALTER TABLE ADD COLUMN with a non-NULL default
Следующее
От: Andres Freund
Дата:
Сообщение: Re: pgsql: Fast ALTER TABLE ADD COLUMN with a non-NULL default