Re: [BUG?] check_exclusion_or_unique_constraint false negative

Поиск
Список
Период
Сортировка
От Amit Kapila
Тема Re: [BUG?] check_exclusion_or_unique_constraint false negative
Дата
Msg-id CAA4eK1KKh1VyBSkipxRZp=2QWj6U6McyUOMmqqmofGLUGDh4QQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [BUG?] check_exclusion_or_unique_constraint false negative  (Mihail Nikalayeu <mihailnikalayeu@gmail.com>)
Ответы Re: [BUG?] check_exclusion_or_unique_constraint false negative
Список pgsql-hackers
On Fri, Aug 22, 2025 at 9:12 PM Mihail Nikalayeu
<mihailnikalayeu@gmail.com> wrote:
>
> Amit, a few more explanations related to your message.
>
> > IIUC, the problem you are worried about can happen with DELETE+INSERT
> > in the same transaction on the subscriber, right?
>
> Technically, yes - this can occur during a single UPDATE, as well as a
> DELETE followed by an INSERT of the same key within the same
> transaction (which is effectively equivalent to an UPDATE).
>

BTW, then isn't it possible that INSERT happens on a different page?

--
With Regards,
Amit Kapila.



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