Re: Data dumps to files - best methods? - Mailing list pgsql-general

From Michael A. Peters
Subject Re: Data dumps to files - best methods?
Date
Msg-id 41979.68.189.86.17.1280148097.squirrel@secure.shastaherps.org
Whole thread Raw
In response to Re: Data dumps to files - best methods?  ("Machiel Richards" <machielr@rdc.co.za>)
List pgsql-general
> Hi All

>
>    From what I can see in the specs and current output files, the client
> needs the data output in .xml format in order to use this on their side,
> still trying to understand why though...

I don't know what they are doing but XML is an excellent data storage
format. I use it for some stuff I don't need in a relational database, I
can just import the xml into DOMDocument and operate on it that way.

You can probably use the libxml2 facilities of your favorite scripting
language (php,perl,python,ruby) to dump the database into whatever kind of
XML they want.

-----
Michael A. Peters

http://www.shastaherps.org/

pgsql-general by date:

Previous
From: "A. Kretschmer"
Date:
Subject: Re: Re: What to do if space for database decrease and no additional hard drive is possible?
Next
From: Samuel Gilbert
Date:
Subject: Re: Blocked inserts on tables with FK to tables for which UPDATE has been revoked