pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Chris White (cjwhite) <cjwhite@cisco.com>
To: pgsql-admin@postgresql.org
Subject: Need help
Date: Wed, 20 Oct 2004 11:57:19 -0700
Message-ID: <200410201857.i9KIvGk2024151@sj-core-1.cisco.com> (raw)

I am running 7.4.2 and I am seeing a strange error. I am using jdbc to
update a table with the following statement:
 
update vm_message set usecount=4 where messsage id='1234567';
 
this statements generates a PSQLException with the following message:
 
ERROR: duplicate key violates unique constraint "vm_message_pkey"
 
I don't understand why I am getting this message because the primary key for
table vm_message is messageid and this is not being changed
 
Any body have any ideas?
 
Chris White

view thread (22+ messages)  latest in thread

Message-ID: <200410201857.i9KIvGk2024151@sj-core-1.cisco.com>
Permalink:  ../200410201857.i9KIvGk2024151@sj-core-1.cisco.com/
Also on:    postgresql.org/message-id/200410201857.i9KIvGk2024151@sj-core-1.cisco.com

 · 

reply

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 using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: cjwhite@cisco.com
  Subject: Re: Need help
  In-Reply-To: <200410201857.i9KIvGk2024151@sj-core-1.cisco.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