Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 6E8A9632DD7 for ; Mon, 5 Jul 2010 04:11:13 -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 06921-08 for ; Mon, 5 Jul 2010 07:11:01 +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 4630D632BF3 for ; Mon, 5 Jul 2010 04:11:02 -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 1OVfpU-0001nS-HD for pgsql-sql@postgresql.org; Mon, 05 Jul 2010 11:11:00 +0400 Received: from [192.168.1.6] [178.34.185.189] by moon.antora.ru (Axigen) with (DHE-RSA-AES256-SHA encrypted) ESMTPSA id 0F52F4; Mon, 5 Jul 2010 11:11:00 +0400 Message-ID: <4C318583.60306@bankir.ru> Date: Mon, 05 Jul 2010 11:10:59 +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: Pavel Stehule CC: pgsql-sql@postgresql.org Subject: Re: References: <4C3177B8.3080803@bankir.ru> <4C317D82.7020702@bankir.ru> <4C318226.3040701@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/15 X-Sequence-Number: 34328 On 07/05/10 11:03, Pavel Stehule wrote: > 2010/7/5 silly sad: >> On 07/05/10 10:43, Pavel Stehule wrote: >> >>> The good size for text or bytea is less than 100M and real max isn't >>> 2G but it is 1G. LO isn't these limits because it isn't accessable on >>> SQL level. >> >> any regular file on my filesystem isn't accessible on SQL level. >> i am happy with them and never tried to store at a database. > > this is second extreme - you can use everything if you know what you > do - and mainly it depends on applications and requests that you have > to solve. the trouble is the initiator of the thread didn't determine what is his problem either storing of a zero-byte containing string or storing of huge strings. I answered him about BYTEA and he replied about BLOB. I only tried to say i didn't say a word about BLOB. P.S. Practically for storing pictures i prefer regular files.