pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Oliver Jowett <oliver@opencloud.com>
To: Victor Pérez Juárez <victor.perez@e-evolution.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: appears twice in primary key constraint
Date: Fri, 06 Jan 2006 11:40:59 +0000
Message-ID: <43BE574B.9060505@opencloud.com> (raw)
In-Reply-To: <43BDD965.1020008@e-evolution.com>
References: <43BDD965.1020008@e-evolution.com>

Victor Pérez Juárez wrote:
> Hi very body!
> 
> I am execute a dbcopy to migrate from ORacle to PostgreSQL but I get 
> this error when is create prymary key
> 
> org.postgresql.util.PSQLException: ERROR: column "ad_client_id" appears 
> twice in primary key constraint

You should probably ask the authors of dbcopy as this appears to be a 
client/application problem, not a JDBC driver problem -- dbcopy is 
apparently creating a bogus CREATE TABLE / ADD CONSTRAINT query.

-O



view thread (2+ messages)

Message-ID: <43BE574B.9060505@opencloud.com>
Permalink:  ../43BE574B.9060505@opencloud.com/
Also on:    postgresql.org/message-id/43BE574B.9060505@opencloud.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 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-jdbc@postgresql.org
  Cc: oliver@opencloud.com, victor.perez@e-evolution.com
  Subject: Re: appears twice in primary key constraint
  In-Reply-To: <43BE574B.9060505@opencloud.com>
  References: <43BDD965.1020008@e-evolution.com> <43BE574B.9060505@opencloud.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