Re: Documenting when to retry on serialization failure

Поиск
Список
Период
Сортировка
От Simon Riggs
Тема Re: Documenting when to retry on serialization failure
Дата
Msg-id CANbhV-Epy3njWAtgTO=fiBzB0WW5EzaCf7vZ2AT3VV=vPpMQ_A@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Documenting when to retry on serialization failure  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Documenting when to retry on serialization failure  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Thu, 24 Mar 2022 at 16:29, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>
> Simon Riggs <simon.riggs@enterprisedb.com> writes:
> > On Thu, 24 Mar 2022 at 14:56, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> >> Um, what's that got to do with it?  The example in
> >> read-write-unique-4.spec involves only a single pkey constraint.
>
> > Yes, but as you explained, its not actually a serializable case, it
> > just looks a bit like one.
>
> > That means we are not currently aware of any case where the situation
> > is serializable but the error message is uniqueness violation, unless
> > we have 2 or more unique constraints and/or an exclusion constraint.
>
> Meh.  I'm disinclined to document it at that level of detail, both
> because it's subject to change and because we're not sure that that
> list is exhaustive.  I think a bit of handwaving is preferable.
> How about the attached?  (Only the third new para is different.)

It's much better, thanks.

-- 
Simon Riggs                http://www.EnterpriseDB.com/



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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: Column Filtering in Logical Replication
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: turn fastgetattr and heap_getattr to inline functions