Well, binary data in XML needs to be uuencoded afaik, and of course you'll want to put it in a CDATA block.
PostgreSQL doesn't have any XML support built-in, but there's at least one project that has stuff to help deal with XML. I think it's in pgFoundry, though there may be some stuff in contrib as well.
-----Original Message----- From: Alain Rodriguez Arias [mailto:alainrod@gmail.com] Sent: Monday, December 19, 2005 3:10 PM To: Jim Nasby Subject: Re: [ADMIN] file in posgres
Naybe you missunderstood me, i need to export all the data of a table into an XML format, and I'm afraid to have any trouble with the bytea data type that I use to store files. Can't you tell if there is any problem with that and if not how do I do the export to XML???
On 12/19/05, Jim C. Nasby <jnasby@pervasive.com> wrote: On Sat, Dec 17, 2005 at 02:45:08PM -0800, Alain Rodriguez Arias wrote: > Hi everybody: > I need that somebody tell me if there is any way to save a file of any kind > in a field of a database in posgres??