Re: using index or check in ALTER TABLE SET NOT NULL

From: Sergei Kornilov <sk(at)zsrv(dot)org>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Stephen Frost <sfrost(at)snowman(dot)net>
Cc: Robert Haas <robertmhaas(at)gmail(dot)com>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: using index or check in ALTER TABLE SET NOT NULL
Date: 2017-11-29 16:53:01
Message-ID: 491651511974381@web27j.yandex.ru
Views: Raw Message | Whole Thread | Download mbox
Thread:
Lists: pgsql-hackers

Here is new patch with check only existed valid constraints and without SPI at all.

Thanks

Attachment Content-Type Size
alter_table_set_not_null_by_constraints_only_v2.patch text/x-diff 3.3 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2017-11-29 16:55:02 Re: using index or check in ALTER TABLE SET NOT NULL
Previous Message Stephen Frost 2017-11-29 16:50:31 Re: using index or check in ALTER TABLE SET NOT NULL