X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 9A1909DC801 for ; Mon, 19 Dec 2005 16:46:26 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 51108-02 for ; Mon, 19 Dec 2005 16:46:26 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from noel.decibel.org (unknown [67.100.216.10]) by postgresql.org (Postfix) with ESMTP id 14F919DC86B for ; Mon, 19 Dec 2005 16:46:22 -0400 (AST) Received: by noel.decibel.org (Postfix, from userid 1001) id A0B3C3982C; Mon, 19 Dec 2005 14:46:22 -0600 (CST) Date: Mon, 19 Dec 2005 14:46:22 -0600 From: "Jim C. Nasby" To: Alain Rodriguez Arias Cc: pgsql-admin@postgresql.org Subject: Re: file in posgres Message-ID: <20051219204622.GG28771@pervasive.com> References: <526cb99d0512171445w56636acao9da841d8262e9635@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <526cb99d0512171445w56636acao9da841d8262e9635@mail.gmail.com> X-Operating-System: FreeBSD 6.0-RELEASE amd64 X-Distributed: Join the Effort! http://www.distributed.net User-Agent: Mutt/1.5.11 X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.029 required=5 tests=[AWL=0.029] X-Spam-Score: 0.029 X-Spam-Level: X-Archive-Number: 200512/206 X-Sequence-Number: 19926 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