Re: [BUG?] check_exclusion_or_unique_constraint false negative - Mailing list pgsql-hackers

From Mihail Nikalayeu
Subject Re: [BUG?] check_exclusion_or_unique_constraint false negative
Date
Msg-id CADzfLwUKAnaaadNFmVXk+ED=dStL_FOU0jFzbzVPmA0NW-xstA@mail.gmail.com
Whole thread
In response to Re: [BUG?] check_exclusion_or_unique_constraint false negative  (Manu <manuelreyesbravo@gmail.com>)
List pgsql-hackers
Hello, Manu!

Thanks a lot for the review, especially for the rebase and the
in-flight INSERT case.

The logical replication part has had its own thread for a while [1], so
I've replied there and posted v20 there as well.

In short, the behavior change is real and is now described in the commit
message.  I think master only happens to win a race in that case rather
than providing a guarantee, so v20 leaves the wait out.  More details
are in [1].

[1]: https://postgr.es/m/CADzfLwXZVmbo11tFS_G2i+6TfFVwHU4VUUSeoqb+8UQfuoJs8A@mail.gmail.com

Best regards,
Mikhail



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [PG19] plpgsql: SELECT INTO sets FOUND wrongly after a function becomes a SRF
Next
From: Joao Detomini
Date:
Subject: Re: [PG19] COPY (query) TO ... (FORMAT json) uses the table's column names