From: | Robert Haas <robertmhaas(at)gmail(dot)com> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | "Zhang, Jie" <zhangjie2(at)cn(dot)fujitsu(dot)com>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: ALTER TABLE with ADD COLUMN and ADD PRIMARY KEY USING INDEX throws spurious "column contains null values" |
Date: | 2019-04-18 18:32:26 |
Message-ID: | CA+TgmoY_A3ziiwm71=-ZRWdfY+pmpQHBhiNF26TKp35i2szxag@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Wed, Apr 17, 2019 at 11:55 PM Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> * I'm not sure whether we want to try to back-patch this, or how
> far it should go. The misbehavior has been there a long time
> (at least back to 8.4, I didn't check further); so the lack of
> previous reports means people seldom try to do it. That may
> indicate that it's not worth taking any risks of new bugs to
> squash this one. (Also, I suspect that it might take a lot of
> work to port this to before v10, because there are comments
> suggesting that this code worked a good bit differently before.)
> I do think we should shove this into v12 though.
Shoving it into v12 but not back-patching seems like a reasonable
compromise, although I have not reviewed the patch or tried to figure
out how risky it is.
--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
From | Date | Subject | |
---|---|---|---|
Next Message | Alvaro Herrera | 2019-04-18 19:12:09 | Re: proposal: psql PSQL_TABULAR_PAGER variable |
Previous Message | Andres Freund | 2019-04-18 18:21:50 | Re: block-level incremental backup |