From: Harpreet Dhaliwal <harpreet.dhaliwal01@gmail.com>
To: Postgres General <pgsql-general@postgresql.org>
Subject: Duplicate Unique Key constraint error
Date: Tue, 10 Jul 2007 01:14:08 -0400
Message-ID: <d86a77ef0707092214j2f19d5c0yf1e1a0ea19c06122@mail.gmail.com> (raw)
Hi,
I keep getting this duplicate unique key constraint error for my primary key
even
though I'm not inserting anything duplicate. It even inserts the records
properly
but my console throws this error that I'm sure of what it is all about.
Corruption of my Primary Key can be one of the possibilities but I'm really
not sure how
to get rid of this corruption and how to re-index the primary key.
Also, I was wondering what could be the cause of this PK corruption, if
possible and what does can this corruption lead to.
I mean what are its cons.
Thanks,
~Harpreet
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-odbc@postgresql.org
Cc: harpreet.dhaliwal01@gmail.com, pgsql-general@postgresql.org
Subject: Re: Duplicate Unique Key constraint error
In-Reply-To: <d86a77ef0707092214j2f19d5c0yf1e1a0ea19c06122@mail.gmail.com>
References: <d86a77ef0707092214j2f19d5c0yf1e1a0ea19c06122@mail.gmail.com>
* 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