From: rani.renu@gmail.com
To: pgsql-bugs@postgresql.org
Cc: rani.renu@gmail.com
Subject: BUG #14805: Issue with Duplicate entry
Date: Fri, 08 Sep 2017 03:27:17 +0000
Message-ID: <20170908032717.25640.1611@wrigleys.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
The following bug has been logged on the website:
Bug reference: 14805
Logged by: renu rani
Email address: rani.renu@gmail.com
PostgreSQL version: 9.3.1
Operating system: Linux ( red hat 6)
Description:
We have one perl script that is opening DB connection and performing insert
into database . When duplicate entry coming in the query , Postgre
forcefully killing process itself and in postgre log " unexpected EOF on
client connection" error is coming.
This issue in not coming every time.
Below is the log data for reference.
<127.0.0.1(32851)%2009-01-20 04:05:07 GMT> ERROR: duplicate key violates
unique constraint "abc_pkey"
<127.0.0.1(32851)%2009-01-20 04:05:07 GMT> STATEMENT: insert into ab (id,
patch) values ('AB0202', 'V3.2.1-N904')
<127.0.0.1(32851)%2009-01-20 04:05:07 GMT> LOG: unexpected EOF on client
connection
<127.0.0.1(32851)%2009-01-20 04:05:07 GMT> DEBUG: proc_exit(0)
<127.0.0.1(32851)%2009-01-20 04:05:07 GMT> DEBUG: shmem_exit(0)
<127.0.0.1(32851)%2009-01-20 04:05:07 GMT> LOG: disconnection: session
time: 0:00:01.44 user=renu database=hydrastordb host=xxx.0.0.1 port=xxxx
<127.0.0.1(32851)%2009-01-20 04:05:07 GMT> DEBUG: exit(0)
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
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-bugs@postgresql.org
Cc: rani.renu@gmail.com
Subject: Re: BUG #14805: Issue with Duplicate entry
In-Reply-To: <20170908032717.25640.1611@wrigleys.postgresql.org>
References: <20170908032717.25640.1611@wrigleys.postgresql.org>
* 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