Re: Convert an XML database

From: John R Pierce <pierce(at)hogranch(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Convert an XML database
Date: 2014-05-21 04:28:07
Message-ID: 537C2B57.3070408@hogranch.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 5/20/2014 9:16 PM, Aram Fingal wrote:
> I want to set up a new PostgreSQL database from an XML database file. It seems like there should be an obvious way to do this but I can't seem to find any directions anywhere. How is this sort of thing normally done?
you'd need some sort of tool that could parse the XSD schema definition
and generate SQL create table commands, then read the XML data and
insert it into the database.

a generic ETL (extract, transform, load) tool that supports XML and
postgresql should be able to do it, but its not something built into
postgresql as-is. I can't recommend any specific ETL tool to do this
as I've never needed to do this exactly.

there's some ETL tools listed here,
http://en.wikipedia.org/wiki/Extract,_transform,_load

--
john r pierce 37N 122W
somewhere on the middle of the left coast

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Oleg Bartunov 2014-05-21 09:36:00 Re: Force specific index disuse
Previous Message Aram Fingal 2014-05-21 04:16:38 Convert an XML database