public inbox for [email protected]  
help / color / mirror / Atom feed
From: Ivan Tsyba <[email protected]>
To: David G. Johnston <[email protected]>
Cc: [email protected]
Subject: Re: Docs about INSERT wait in Read Commited transaction
Date: Mon, 9 May 2022 04:36:24 +0300
Message-ID: <CAJQY8UosNct0m0xbD7gkWGs02c0SOZN1DET-Q94jjpV1LrC2SQ@mail.gmail.com> (raw)
In-Reply-To: <CAKFQuwbkCJ=BBGtunXMEdRCEpXgWu3jr-Fw-hSFKdJMHq-owTw@mail.gmail.com>
References: <[email protected]>
	<CAKFQuwbkCJ=BBGtunXMEdRCEpXgWu3jr-Fw-hSFKdJMHq-owTw@mail.gmail.com>

Yes, the behavior is documented there. I would suggest to add one sentence
about it to transactions page.

Thank you


пн, 9 трав. 2022, 04:27 користувач David G. Johnston <
[email protected]> пише:

> On Saturday, May 7, 2022, PG Doc comments form <[email protected]>
> wrote:
>
>> The following documentation comment has been logged on the website:
>>
>> Page: https://www.postgresql.org/docs/14/transaction-iso.html
>> Description:
>>
>> Hello
>> I've noticed, if two transactions in read committed mode are trying to
>> insert same value to unique column, second transaction INSERT will wait
>> for
>> the first transaction commit or rollback. Can't see this behavior
>> explicitly
>> stated in the doc about transaction isolation modes.
>>
>>
> It is documented elsewhere:
>
> https://www.postgresql.org/docs/current/index-unique-checks.html
>
> David J.
>
>


reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected]
  Subject: Re: Docs about INSERT wait in Read Commited transaction
  In-Reply-To: <CAJQY8UosNct0m0xbD7gkWGs02c0SOZN1DET-Q94jjpV1LrC2SQ@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox