X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id ADFAF9DC85C for ; Thu, 5 Jan 2006 22:43:44 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 70403-02 for ; Thu, 5 Jan 2006 22:43:48 -0400 (AST) Received: from svr4.postgresql.org (svr4.postgresql.org [66.98.251.159]) by postgresql.org (Postfix) with ESMTP id 7357E9DC802 for ; Thu, 5 Jan 2006 22:43:42 -0400 (AST) Received: from helios.lunarpages.com (helios.lunarpages.com [216.227.215.97]) by svr4.postgresql.org (Postfix) with ESMTP id B4EB15AF071 for ; Fri, 6 Jan 2006 02:43:47 +0000 (GMT) Received: from dsl-200-67-48-109.prod-empresarial.com.mx ([200.67.48.109] helo=[192.168.0.8]) by helios.lunarpages.com with esmtpa (Exim 4.52) id 1EuhZx-0004PA-DH for pgsql-jdbc@postgresql.org; Thu, 05 Jan 2006 18:43:45 -0800 Message-ID: <43BDD965.1020008@e-evolution.com> Date: Thu, 05 Jan 2006 20:43:49 -0600 From: =?ISO-8859-1?Q?Victor_P=E9rez_Ju=E1rez?= User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050317) X-Accept-Language: es-es, es MIME-Version: 1.0 To: pgsql-jdbc@postgresql.org Subject: appears twice in primary key constraint Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - helios.lunarpages.com X-AntiAbuse: Original Domain - postgresql.org X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [47 12] X-AntiAbuse: Sender Address Domain - e-evolution.com X-Source: X-Source-Args: X-Source-Dir: X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0 required=5 tests=[none] X-Spam-Score: 0 X-Spam-Level: X-Archive-Number: 200601/23 X-Sequence-Number: 14474 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