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

From: Sergei Kornilov <sk(at)zsrv(dot)org>
To: Stephen Frost <sfrost(at)snowman(dot)net>
Cc: Robert Haas <robertmhaas(at)gmail(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "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: 2018-01-23 19:06:07
Message-ID: 354171516734367@web46g.yandex.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hello Stephen

I changed the suggested things and added some regression tests. Also i wrote few words to the documentation. New patch is attached.

Thank you for feedback!
regards, Sergei

Attachment Content-Type Size
alter_table_set_not_null_by_constraints_only_v4.patch text/x-diff 13.2 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Geoghegan 2018-01-23 19:11:43 Re: [HACKERS] Parallel tuplesort (for parallel B-Tree index creation)
Previous Message Nikolay Shaplov 2018-01-23 18:53:24 Re: [PATCH][PROPOSAL] Refuse setting toast.* reloptions when TOAST table does not exist