Re: BUG #12330: ACID is broken for unique constraints

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #12330: ACID is broken for unique constraints
Дата
Msg-id 31635.1419609041@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: BUG #12330: ACID is broken for unique constraints  (Kevin Grittner <kgrittn@ymail.com>)
Ответы Re: BUG #12330: ACID is broken for unique constraints  (Kevin Grittner <kgrittn@ymail.com>)
Список pgsql-hackers
Kevin Grittner <kgrittn@ymail.com> writes:
> Are there any objections to generating a write conflict instead of
> a duplicate key error if the duplicate key was added by a
> concurrent transaction?

Yes.  This will deliver a less meaningful error code, *and* break
existing code that is expecting the current behavior.
        regards, tom lane



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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: What exactly is our CRC algorithm?
Следующее
От: Andres Freund
Дата:
Сообщение: Re: What exactly is our CRC algorithm?