Re: file in posgres - Mailing list pgsql-admin

From Jim C. Nasby
Subject Re: file in posgres
Date
Msg-id 20051219204622.GG28771@pervasive.com
Whole thread Raw
In response to file in posgres  (Alain Rodriguez Arias <alainrod@gmail.com>)
List pgsql-admin
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??

http://www.postgresql.org/docs/8.1/static/datatype-binary.html

> I also need to  convert the data of a tble into  XML???

No reason to do that in the database... though if you end up storing XML
you should just stick it in a text field.
--
Jim C. Nasby, Sr. Engineering Consultant      jnasby@pervasive.com
Pervasive Software      http://pervasive.com    work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf       cell: 512-569-9461

pgsql-admin by date:

Previous
From: "Jim C. Nasby"
Date:
Subject: Re: binary vs. txt dumps with pg
Next
From: "Jim C. Nasby"
Date:
Subject: Re: PG8.1 - Config file check