Re: ON CONFLICT does not support deferrable unique constraints

Поиск
Список
Период
Сортировка
От Andreas Joseph Krogh
Тема Re: ON CONFLICT does not support deferrable unique constraints
Дата
Msg-id VisenaEmail.33.379a41fa6f218439.156bdff216d@tc7-visena
обсуждение исходный текст
Ответ на Re: ON CONFLICT does not support deferrable unique constraints  (Francisco Olarte <folarte@peoplecall.com>)
Ответы Re: ON CONFLICT does not support deferrable unique constraints  (Francisco Olarte <folarte@peoplecall.com>)
Список pgsql-general
På onsdag 24. august 2016 kl. 18:36:16, skrev Francisco Olarte <folarte@peoplecall.com>:
On Wed, Aug 24, 2016 at 6:26 PM, Scott Marlowe <scott.marlowe@gmail.com> wrote:
> On Wed, Aug 24, 2016 at 6:05 AM, Andreas Joseph Krogh
>> Are there any plans to lift this restriction?
> I'm trying to figure out a method for making this work in my head.
> These two things seem kind of opposed to each other.

He probably wants to just treat is as non-deferrable just during the
upsert. I do not know if he has thought this opens a can of worms (
like, the constraint may be already broken due to precious DML ).

Francisco Olarte.
 
As a developer I want it to "just work", if there's an error of any kind then abort the transaction, just as it was non-deferrable.
 
--
Andreas Joseph Krogh
CTO / Partner - Visena AS
Mobile: +47 909 56 963
 
Вложения

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

Предыдущее
От: Francisco Olarte
Дата:
Сообщение: Re: ON CONFLICT does not support deferrable unique constraints
Следующее
От: Alexander Farber
Дата:
Сообщение: Re: Forward declaration of table