Problem when adding an existing primary key

From: "Insyde" <insyde(at)insyde(dot)com(dot)br>
To: <pgsql-bugs(at)postgresql(dot)org>
Subject: Problem when adding an existing primary key
Date: 2003-01-31 16:33:01
Message-ID: 001101c2c946$6d0da660$02faabc8@insyde
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-novice

Hi, I'm new to Postgres and I'm using it for 1 month now.

The problem is:

When I try to insert via application a registry that already exists
Postgres shows an error "Unable to insert duplicate primary key on index 'index' ".
I think it's an error, because I would treat this error, just like others.

I've found this message in file: nbtinsert.c line 257.

I'm using Postgres 7.2 but I've seen this message in version
7.3.1.

Thanks in advance,
Ricardo.

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message typea 2003-02-02 02:36:26 Complex cursor won't rewind to 0-th row
Previous Message Bruce Momjian 2003-01-31 06:10:44 Re: ECPG does not recognise typedefs

Browse pgsql-novice by date

  From Date Subject
Next Message Art Fore 2003-01-31 17:40:24 can only connect to localhost is postgresql
Previous Message codeWarrior 2003-01-31 15:22:59 Re: [NOVICE] Perl - Postgres