Received: from localhost (maia-3.hub.org [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id F1F659FBF84 for ; Wed, 20 Jun 2007 17:16:14 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 07271-04 for ; Wed, 20 Jun 2007 17:16:05 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from exchange.g2switchworks.com (mail.g2switchworks.com [38.98.183.40]) by postgresql.org (Postfix) with ESMTP id 3F86D9FBF3E for ; Wed, 20 Jun 2007 17:16:08 -0300 (ADT) Received: from [10.10.1.37] ([10.10.1.37]) by exchange.g2switchworks.com with Microsoft SMTPSVC(6.0.3790.1830); Wed, 20 Jun 2007 15:16:07 -0500 Message-ID: <46798B07.6060604@g2switchworks.com> Date: Wed, 20 Jun 2007 15:16:07 -0500 From: Scott Marlowe User-Agent: Thunderbird 1.5.0.4 (X11/20060516) MIME-Version: 1.0 To: "EBIHARA, Yuichiro" CC: pgsql-general@postgresql.org Subject: Re: standard LOB support References: <005d01c7b19d$b1387ec0$4a0aa8c0@ipljp.local> In-Reply-To: <005d01c7b19d$b1387ec0$4a0aa8c0@ipljp.local> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 20 Jun 2007 20:16:07.0149 (UTC) FILETIME=[D5B8D9D0:01C7B377] X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.192 tagged_above=0 required=5 tests=AWL=0.191, BAYES_50=0.001 X-Spam-Level: X-Archive-Number: 200706/1224 X-Sequence-Number: 116047 EBIHARA, Yuichiro wrote: > Hi, > > I'm developing a software that supports several RDBMSs including PostgreSQL. > > The software needs an ability to handle large objects and now it uses 'bytea' datatype for binary > data and 'text' for text data. > But for portability, I'd rather use BLOB and CLOB defined by the SQL standards indeed. > > Is there any plan to support BLOB and CLOB in future releases? > Looking at the spec, and postgresql's implementation, I can't see much reason you couldn't just use a domain to declare that a bytea is a blob and varchar is a clob. Unless there's some spefici thing you need I'm not seeing.