Re: set not null column using existing constraint

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема Re: set not null column using existing constraint
Дата
Msg-id CAKFQuwY4KzV3=xqXQUw3WP68D3DrbN5Ukzt4O=JGH=OjdL26Fw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: set not null column using existing constraint  (Marco Piovan <mpiovan@workwave.com>)
Список pgsql-admin
On Wednesday, January 10, 2018, Marco Piovan <mpiovan@workwave.com> wrote:
The column is not marked as NOT NULL but a valid constraint  "CHECK (column IS NOT NULL)" exists.

I haven't found a way to use that specific constraint and avoid the table rescan.

It probably doesn't exist then, which is not that surprising; no one foresaw people using a check constraint for not null when an explicit specifier exists.

David J.

В списке pgsql-admin по дате отправления:

Предыдущее
От: Marco Piovan
Дата:
Сообщение: Re: set not null column using existing constraint
Следующее
От: flumbador@virgilio.it
Дата:
Сообщение: Re: Issue on restore / recover