Re: Can't add records

From: Josh Berkus <josh(at)agliodbs(dot)com>
To: Setyo Nugroho <snugroho(at)gmx(dot)net>, pgsql-novice <pgsql-novice(at)postgresql(dot)org>
Subject: Re: Can't add records
Date: 2002-11-13 18:49:44
Message-ID: 200211131049.44988.josh@agliodbs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice


Setyo,

> "QPSQL:unable to create query.
> Error: cannot insert a duplicate key into unique index route_pkey."

> What does the above-mentioned error message mean?
> How to fix the problem?

It means that you are trying to insert a dumplicate RouteID into the table,
which is rejected because it's a violation of your primary key (RouteID).

I can think of several reasons why this would happen. How is your interface
getting new values for the RouteID column?

--
-Josh Berkus
Aglio Database Solutions
San Francisco

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Chris Smith 2002-11-13 21:35:39 Re: Can't add records
Previous Message Setyo Nugroho 2002-11-13 18:44:50 Can't add records