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

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: using index or check in ALTER TABLE SET NOT NULL
Дата
Msg-id 900056D1-32DF-4927-8251-3E0C0DC407FD@anarazel.de
обсуждение исходный текст
Ответ на Re: using index or check in ALTER TABLE SET NOT NULL  (Stephen Frost <sfrost@snowman.net>)
Список pgsql-hackers

On November 29, 2017 8:50:31 AM PST, Stephen Frost <sfrost@snowman.net> wrote:
>As for conflicting snapshots, isn't the lock we're taking already
>AccessExclusive..?

Doesn't help if e.g. the current xact is repeatable read or if your own xact deleted things (other xacts with snapshots
couldstill see null rows, despite new take definition).  

Andres
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.


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

Предыдущее
От: Sergei Kornilov
Дата:
Сообщение: Re: using index or check in ALTER TABLE SET NOT NULL
Следующее
От: Shubham Barai
Дата:
Сообщение: Re: [HACKERS] GSoC 2017 : Patch for predicate locking in Gist index