X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 432C85E46DC; Mon, 23 Aug 2004 15:51:53 -0300 (ADT) 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 42487-03; Mon, 23 Aug 2004 18:51:49 +0000 (GMT) Received: from ganymede.hub.org (u46n208.hfx.eastlink.ca [24.222.46.208]) by svr1.postgresql.org (Postfix) with ESMTP id E59AD5E46D9; Mon, 23 Aug 2004 15:51:49 -0300 (ADT) Received: by ganymede.hub.org (Postfix, from userid 1000) id 634FE37E07; Mon, 23 Aug 2004 15:51:50 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by ganymede.hub.org (Postfix) with ESMTP id 6239B37D5B; Mon, 23 Aug 2004 15:51:50 -0300 (ADT) Date: Mon, 23 Aug 2004 15:51:50 -0300 (ADT) From: "Marc G. Fournier" X-X-Sender: scrappy@ganymede.hub.org To: Barry Lind Cc: "Marc G. Fournier" , pgsql-jdbc@postgresql.org Subject: Re: types used for JDBC BLOB and CLOB? In-Reply-To: <03E7D3E231BB7B4A915A6581D4296CC6978CBC@NSNOVPS00411.nacio.xythos.com> Message-ID: <20040823154713.X4215@ganymede.hub.org> References: <03E7D3E231BB7B4A915A6581D4296CC6978CBC@NSNOVPS00411.nacio.xythos.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed 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: 200408/136 X-Sequence-Number: 10858 'k, I believe what the client is wanting to know is what the storage type would be on the backend, that the would BLOB/CLOB map to ... bytea? On Mon, 23 Aug 2004, Barry Lind wrote: > Marc, > > If you are specifically talking about the JDBC types BLOB and CLOB those > classes use the server LargeObject interface. If you are speaking > generically about support for large objects then the jdbc driver > supports the bytea datatype for the get/setBinaryStream() methods. So > the answer is "it depends", on how you use the driver. The specifics > for supporting binary objects are documented in a section on this topic > in the postgresql jdbc driver documentation chapter. > > Thanks, > --Barry > > -----Original Message----- > From: Marc G. Fournier [mailto:scrappy@postgresql.org] > Sent: Monday, August 23, 2004 8:44 AM > To: pgsql-jdbc@postgresql.org > Subject: [JDBC] types used for JDBC BLOB and CLOB? > > > Just been asked this, and I'm not sure of the answer ... based on > reading the docs on bytea, I'm assuming that it is such, but can someone > please confirm? > > Thanks ... > > ---- > Marc G. Fournier Hub.Org Networking Services > (http://www.hub.org) > Email: scrappy@hub.org Yahoo!: yscrappy ICQ: > 7615664 > > ---------------------------(end of broadcast)--------------------------- > TIP 7: don't forget to increase your free space map settings > > ---- Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email: scrappy@hub.org Yahoo!: yscrappy ICQ: 7615664