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

From: Andres Freund <andres(at)anarazel(dot)de>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: Re: pgsql: Fast ALTER TABLE ADD COLUMN with a non-NULL default
Date: 2018-03-28 01:00:53
Message-ID: 20180328010053.i2qvsuuusst4lgmc@alap3.anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Andrew Dunstan 2018-03-28 01:07:49 Re: pgsql: Fast ALTER TABLE ADD COLUMN with a non-NULL default
Previous Message Andrew Dunstan 2018-03-28 00:56:10 pgsql: Fast ALTER TABLE ADD COLUMN with a non-NULL default