From: Victor Pérez Juárez <victor.perez@e-evolution.com>
To: pgsql-jdbc@postgresql.org
Subject: appears twice in primary key constraint
Date: Thu, 05 Jan 2006 20:43:49 -0600
Message-ID: <43BDD965.1020008@e-evolution.com> (raw)
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
at
org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:1512)
at
org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1297)
at
org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:188)
at
org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:430)
at
org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:332)
at
org.postgresql.jdbc2.AbstractJdbc2Statement.executeUpdate(AbstractJdbc2Statement.java:278)
at
net.sourceforge.squirrel_sql.plugins.dbcopy.util.DBUtil.executeUpdate(DBUtil.java:257)
at
net.sourceforge.squirrel_sql.plugins.dbcopy.CopyExecutor.createTable(CopyExecutor.java:688)
at
net.sourceforge.squirrel_sql.plugins.dbcopy.CopyExecutor._execute(CopyExecutor.java:160)
at
net.sourceforge.squirrel_sql.plugins.dbcopy.CopyExecutor.access$000(CopyExecutor.java:57)
at
net.sourceforge.squirrel_sql.plugins.dbcopy.CopyExecutor$1.run(CopyExecutor.java:120)
at java.lang.Thread.run(Thread.java:595)
What is the problem?
Victor Perez
CEO
www.e-evolution.com
victor.perez@e-evolution.com
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: victor.perez@e-evolution.com
Subject: Re: appears twice in primary key constraint
In-Reply-To: <43BDD965.1020008@e-evolution.com>
References: <43BDD965.1020008@e-evolution.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