Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
Thread:
Lists: pgsql-bugspgsql-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

pgsql-novice by date

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

pgsql-bugs by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group