From: Andreas Joseph Krogh <andreas@visena.com>
To: pgsql-general@lists.postgresql.org
Subject: RE: Primary Key Update issue ?
Date: Fri, 6 Sep 2019 11:34:08 +0200 (CEST)
Message-ID: <VisenaEmail.10.c4ad345de4e82645.16d05ebdf78@tc7-visena> (raw)
In-Reply-To: <VI1PR0501MB2574EDE85BAC720EF5727AFDEFBA0@VI1PR0501MB2574.eurprd05.prod.outlook.com>
På fredag 06. september 2019 kl. 11:25:36, skrev Patrick FICHE <
Patrick.Fiche@aqsacom.com <mailto:Patrick.Fiche@aqsacom.com>>:
Hi Andreas,
Thanks a lot for your answer, which solves this case.
I was still a bit surprised as this is linked to transaction management while
I have here a single statement until I saw the Compatibility Remark in
documentation :Also, PostgreSQL checks non-deferrable uniqueness constraints
immediately, not at end of statement as the standard would suggest.
FWIW - PostgreSQL behaves like Oracle in this regard. -- Andreas Joseph Krogh
CTO / Partner - Visena AS Mobile: +47 909 56 963 andreas@visena.com
<mailto:andreas@visena.com> www.visena.com <https://www.visena.com;
<https://www.visena.com;
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: andreas@visena.com
Subject: Re: Primary Key Update issue ?
In-Reply-To: <VisenaEmail.10.c4ad345de4e82645.16d05ebdf78@tc7-visena>
References: <VI1PR0501MB2574EDE85BAC720EF5727AFDEFBA0@VI1PR0501MB2574.eurprd05.prod.outlook.com> <VisenaEmail.10.c4ad345de4e82645.16d05ebdf78@tc7-visena>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox