X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 146EC5357E for ; Thu, 5 May 2005 09:22:59 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 48846-01 for ; Thu, 5 May 2005 12:22:54 +0000 (GMT) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.203]) by svr1.postgresql.org (Postfix) with ESMTP id 5CF9353562 for ; Thu, 5 May 2005 09:22:53 -0300 (ADT) Received: by zproxy.gmail.com with SMTP id 34so250994nzf for ; Thu, 05 May 2005 05:22:56 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=hNBmoe7ylt6XhrErJTrMpjrJK6xtQV1M0jE9e7HWG5M3a07RJM3IGEKXLYDbbVRIVmK300ASnmJ7E9hypZwnsKqYmbws28oB5jGW7bLbHTVvuvl85Y0zn/ubE4xCSN6EdOxvLlo1LI0yPIMd9fPFJnssZ4/3inz4//vklS4Ap48= Received: by 10.36.3.16 with SMTP id 16mr326935nzc; Thu, 05 May 2005 05:22:56 -0700 (PDT) Received: by 10.36.74.19 with HTTP; Thu, 5 May 2005 05:22:56 -0700 (PDT) Message-ID: <674d1f8a05050505224f231a5c@mail.gmail.com> Date: Thu, 5 May 2005 17:52:56 +0530 From: Gourish Singbal Reply-To: Gourish Singbal To: pgsql-admin Subject: Need help in data migration Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.264 tagged_above=0 required=5 tests=AWL, DNS_FROM_RFC_ABUSE, RCVD_BY_IP X-Spam-Level: X-Archive-Number: 200505/47 X-Sequence-Number: 17476 I need help to transfer data from postgreql to oracle database on regular basis. The original productin application runs on oracle. We need this setup temporarily for certain time period till we are confortable that our application can survive on postgresql. Please help if somebody has worked on such projects. I tried taking pg_dump as follows from postgresql 7.4.5 pg_dump -t tablename_test -a -D -O rpt_production > tablename_test.sql and than ran below on oracle but i got many errors. One reason i can think of is becase i have column names like "version", "type", in the insert command?. SQL>@$HOME/tablename_test.sql Am i misssing any thing=20 please help Awaiting reply --=20 Best, Gourish Singbal