Re: Data dumps to files - best methods?

From: "Michael A(dot) Peters" <mpeters(at)shastaherps(dot)org>
To: "Machiel Richards" <machielr(at)rdc(dot)co(dot)za>
Cc: "'Ralf Schuchardt'" <rasc(at)gmx(dot)de>, pgsql-general(at)postgresql(dot)org
Subject: Re: Data dumps to files - best methods?
Date: 2010-07-26 12:41:37
Message-ID: 41979.68.189.86.17.1280148097.squirrel@secure.shastaherps.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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/

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Samuel Gilbert 2010-07-26 15:01:34 Re: Blocked inserts on tables with FK to tables for which UPDATE has been revoked
Previous Message A. Kretschmer 2010-07-26 12:22:15 Re: Re: What to do if space for database decrease and no additional hard drive is possible?