Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 086A1633572 for ; Mon, 5 Jul 2010 04:29:04 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 64567-04 for ; Mon, 5 Jul 2010 07:28:55 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from moon.antora.ru (moon.antora.ru [89.111.189.180]) by mail.postgresql.org (Postfix) with ESMTP id 603CD633302 for ; Mon, 5 Jul 2010 04:28:56 -0300 (ADT) Envelope-to: pgsql-sql@postgresql.org Received: from moon.inner.space ([10.1.1.5] helo=moon.antora.ru) by moon.antora.ru with esmtp (Exim 4.67) (envelope-from ) id 1OVg6o-0003ig-Ib for pgsql-sql@postgresql.org; Mon, 05 Jul 2010 11:28:54 +0400 Received: from [192.168.1.6] [178.34.185.189] by moon.antora.ru (Axigen) with (DHE-RSA-AES256-SHA encrypted) ESMTPSA id 010065; Mon, 5 Jul 2010 11:28:54 +0400 Message-ID: <4C3189B5.1090906@bankir.ru> Date: Mon, 05 Jul 2010 11:28:53 +0400 From: silly sad User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.5) Gecko/20100111 Thunderbird/3.0 MIME-Version: 1.0 To: pgsql-sql@postgresql.org Subject: Re: References: <4C3177B8.3080803@bankir.ru> <4C317D82.7020702@bankir.ru> <4C318226.3040701@bankir.ru> <4C318583.60306@bankir.ru> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.8 tagged_above=-5 required=5 tests=BAYES_50=0.8 X-Spam-Level: X-Archive-Number: 201007/17 X-Sequence-Number: 34330 On 07/05/10 11:18, Pavel Stehule wrote: >> P.S. >> Practically for storing pictures i prefer regular files. >> > > how I say - it depends on application - sometime can be useful have to > access to all data only from db connect - for million small pictures > the bytea can be best. i really love postgres TEXT type, but i hate CSTRING input-output bottleneck.