From: | greg(at)turnstep(dot)com |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Export table/view in xml-format |
Date: | 2003-03-10 14:34:56 |
Message-ID: | dc761764a350d9278452a6f50e17dc45@biglumber.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
> is there a tool to export contents of a table or view in xml? I would like
> something that:
There is some current discusion about having a switch in psql that would
enable this. I wrote a patch that does just this: see the link below.
Note that it was made against CVS tip (as of around 2 weeks ago) and will
probably not be identical to the final version. However, it should do what you asked for.
You can also look at the perl module DBIx:XML, which produces very similar results:
http://search.cpan.org/author/MSERGEANT/DBIx-XML_RDB-0.05/XML_RDB.pm
- --
Greg Sabino Mullane greg(at)turnstep(dot)com
PGP Key: 0x14964AC8 200303100919
-----BEGIN PGP SIGNATURE-----
Comment: http://www.turnstep.com/pgp.html
iD8DBQE+bKE2vJuQZxSWSsgRAsPIAJ9yZvGZoso4e5tf9fvxb/vUZXSqhgCcCKka
KhbIsi+5qz+KaFrtHEYEYOA=
=tI9M
-----END PGP SIGNATURE-----
From | Date | Subject | |
---|---|---|---|
Next Message | Ericson Smith | 2003-03-10 14:39:27 | Re: Sequential Scans |
Previous Message | Greg Sabino Mullane | 2003-03-10 14:32:00 | Website main page empty |