From: Timokhin Maxim <ncx2@yandex.com>
To: Adrian Klaver <adrian.klaver@aklaver.com>
To: pgsql-general@postgresql.org <pgsql-general@postgresql.org>
Subject: Re: duplicate key value violates unique constraint and duplicated records
Date: Fri, 30 Jun 2017 12:50:45 +0300
Message-ID: <1925951498816245@web45g.yandex.ru> (raw)
In-Reply-To: <d8b9a58e-fc30-80d1-3dfa-c1955951ff04@aklaver.com>
References: <2150831498728539@web17j.yandex.ru>
<d8b9a58e-fc30-80d1-3dfa-c1955951ff04@aklaver.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-general>
<div>Yes, you are right. It's just a typo.</div><div> </div><div>-- <br />Пожалуйста!</div><div>Используйте кнопку "ответить всем".</div><div>Не удаляйте историю переписки.</div><div>Спасибо. С уважением, Timokhin 'maf' Maxim</div><div> </div><div> </div><div> </div><div>30.06.2017, 02:38, "Adrian Klaver" <adrian.klaver@aklaver.com>:</div><blockquote type="cite"><p>On 06/29/2017 02:28 AM, Timokhin Maxim wrote:</p><blockquote> Hello.<br /> We are in process moving to new db from 9.4.8 -> 9.6.3.1. When we did it<br /> our application started to throw exception "duplicate key value violates<br /> unique constraint" during doing INSERT:</blockquote><p><br />How did move from 9.4.8 --> 9.6.3.1?<br /><br />Also where are you getting Postgres from? I ask because 9.6.3.1 is not<br />a community version or was that just a typo?<br /><br /><br /> </p><blockquote> Everything would be not bad if in the table weren't appeared duplicated<br /> records in url column.<br /> Any idea how is it possible?<br /> Thank you!<br /> --<br /> Timokhin 'maf' Maxim</blockquote><p><br /> </p><span>--<br />Adrian Klaver<br /><a href="mailto:adrian.klaver@aklaver.com">adrian.klaver@aklaver.com</a></span></blockquote>
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: ncx2@yandex.com, adrian.klaver@aklaver.com
Subject: Re: duplicate key value violates unique constraint and duplicated records
In-Reply-To: <1925951498816245@web45g.yandex.ru>
References: <2150831498728539@web17j.yandex.ru> <d8b9a58e-fc30-80d1-3dfa-c1955951ff04@aklaver.com> <1925951498816245@web45g.yandex.ru>
* 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