From: Marc G. Fournier <scrappy@postgresql.org>
To: Barry Lind <blind@xythos.com>
Cc: Marc G. Fournier <scrappy@postgresql.org>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: types used for JDBC BLOB and CLOB?
Date: Mon, 23 Aug 2004 15:51:50 -0300 (ADT)
Message-ID: <20040823154713.X4215@ganymede.hub.org> (raw)
In-Reply-To: <03E7D3E231BB7B4A915A6581D4296CC6978CBC@NSNOVPS00411.nacio.xythos.com>
References: <03E7D3E231BB7B4A915A6581D4296CC6978CBC@NSNOVPS00411.nacio.xythos.com>
'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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: scrappy@postgresql.org, blind@xythos.com
Subject: Re: types used for JDBC BLOB and CLOB?
In-Reply-To: <20040823154713.X4215@ganymede.hub.org>
References: <03E7D3E231BB7B4A915A6581D4296CC6978CBC@NSNOVPS00411.nacio.xythos.com> <20040823154713.X4215@ganymede.hub.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox