From: Tom Lane <tgl@sss.pgh.pa.us>
To: Benjamin Krajmalnik <kraj@illumen.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Error inserting row on unique key
Date: Thu, 20 Apr 2006 14:01:28 -0400
Message-ID: <26407.1145556088@sss.pgh.pa.us> (raw)
In-Reply-To: <8511B4970E0D124898E973DF496F9B4325157D@stash.stackdump.local>
References: <8511B4970E0D124898E973DF496F9B4325157D@stash.stackdump.local>
"Benjamin Krajmalnik" <kraj@illumen.com> writes:
> I have a large table which uses a sequence for column which is defined as the primary key.
> Our systems is a real time data acquisition system, so we have "insert" statements going through it wrapped inside stored procedure.
> Every once in a while I get an inserio error on a violation of a unique constraint on the primary key.
Let's see that stored procedure ...
regards, tom lane
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-admin@postgresql.org
Cc: tgl@sss.pgh.pa.us, kraj@illumen.com
Subject: Re: Error inserting row on unique key
In-Reply-To: <26407.1145556088@sss.pgh.pa.us>
References: <8511B4970E0D124898E973DF496F9B4325157D@stash.stackdump.local> <26407.1145556088@sss.pgh.pa.us>
* 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