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

From Andres Freund
Subject Re: pgsql: Fast ALTER TABLE ADD COLUMN with a non-NULL default
Date
Msg-id 20180328010053.i2qvsuuusst4lgmc@alap3.anarazel.de
Whole thread Raw
In response to pgsql: Fast ALTER TABLE ADD COLUMN with a non-NULL default  (Andrew Dunstan <andrew@dunslane.net>)
Responses Re: pgsql: Fast ALTER TABLE ADD COLUMN with a non-NULL default  (Andrew Dunstan <andrew.dunstan@2ndquadrant.com>)
List pgsql-committers
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?

Greetings,

Andres Freund


pgsql-committers by date:

Previous
From: Andrew Dunstan
Date:
Subject: pgsql: Fast ALTER TABLE ADD COLUMN with a non-NULL default
Next
From: Andrew Dunstan
Date:
Subject: Re: pgsql: Fast ALTER TABLE ADD COLUMN with a non-NULL default