X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 17CD43A5260 for ; Mon, 22 Nov 2004 14:12:34 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 37745-01 for ; Mon, 22 Nov 2004 14:12:26 +0000 (GMT) Received: from tht.net (vista.tht.net [216.126.88.2]) by svr1.postgresql.org (Postfix) with ESMTP id 577663A5207 for ; Mon, 22 Nov 2004 14:12:28 +0000 (GMT) Received: from dyn-70-236.tor.dsl.tht.net (dyn-70-236.tor.dsl.tht.net [134.22.70.236]) by tht.net (Postfix) with ESMTP id 7D6D876B75; Mon, 22 Nov 2004 09:12:30 -0500 (EST) Subject: Re: Doubt :- Image_Insert From: Rod Taylor To: Jerome Alet Cc: sreejith s , pgsql-sql@postgresql.org In-Reply-To: <20041122140924.GA25819@mail.librelogiciel.com> References: <5d14ecf90411220541659b2d30@mail.gmail.com> <1101131660.4697.362.camel@home> <20041122140924.GA25819@mail.librelogiciel.com> Content-Type: text/plain Date: Mon, 22 Nov 2004 09:10:09 -0500 Message-Id: <1101132609.4697.364.camel@home> Mime-Version: 1.0 X-Mailer: Evolution 2.0.2 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200411/229 X-Sequence-Number: 19548 On Mon, 2004-11-22 at 15:09 +0100, Jerome Alet wrote: > Hi, > > On Mon, Nov 22, 2004 at 08:54:20AM -0500, Rod Taylor wrote: > > On Mon, 2004-11-22 at 19:11 +0530, sreejith s wrote: > > > Hello friends I have a doubt, > > > Is it possible to insert images into a postgres db. What is its > > > datatype. Is its possible to insert jpeg images. or v have to store > > > the path into the db. Pls reply. its urgent. > > > > Use bytea for a datatype. PostgreSQL can comfortably handle 50MB's worth > > of data and uncomfortably handle 1GB if you have enough RAM per tuple. > > You mean "handle 50MB's worth of data" per tuple or as a whole ? Per tuple. There is no practical limit to how much it can handle as a whole. --