Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id E051364FD15; Wed, 10 Sep 2008 17:55:43 -0300 (ADT) Received: from postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 99372-05; Wed, 10 Sep 2008 17:55:40 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from coe.tamu.edu (edsun.coe.tamu.edu [165.91.232.6]) by postgresql.org (Postfix) with ESMTP id 13B4864FD04; Wed, 10 Sep 2008 17:55:39 -0300 (ADT) Received: from coe.tamu.edu (coe.tamu.edu [165.91.232.6]) by coe.tamu.edu (8.11.7p3+Sun/8.12.11) with ESMTP id m8AKtaF15904; Wed, 10 Sep 2008 15:55:36 -0500 (CDT) Date: Wed, 10 Sep 2008 15:55:34 -0500 (CDT) From: Ben Kim To: "Markova, Nina" cc: pgsql-general@postgresql.org, pgsql-admin@postgresql.org Subject: Re: [GENERAL] FW: How to upload data to postgres In-Reply-To: <091020081557.7061.48C7EE83000A333F00001B9522007456729D0A900E04050E@comcast.net> Message-ID: References: <091020081557.7061.48C7EE83000A333F00001B9522007456729D0A900E04050E@comcast.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200809/82 X-Sequence-Number: 30175 From: "Markova, Nina" > I also plan to try to export data in XML format (from Ingres) and import > it to Postgres. > > I didn't find any utility for importing XML data into Postgres. You can possibly use perl's XML::Xpath for XML import (DBIx::XML_RDB for export), assuming the table is already created in postgresql. You just need to find the right node names. HTH Ben