Re: bytea encoding

From: Oliver Jowett <oliver(at)opencloud(dot)com>
To: Jesse <jeichar(at)refractions(dot)net>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: bytea encoding
Date: 2005-05-12 21:46:11
Message-ID: 4283CEA3.8060101@opencloud.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Jesse wrote:

> Is there a way that I can use postgresql-74.213.jar (or more recent) to
> encode the file in bytea on the client side? If no, do you know where I
> can get code to do that?

You do not need to "encode the file in bytea". Use setBytes() or
setBinaryStream() and the driver will do the rest.

-O

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message hiuguis 2005-05-13 00:07:01 JDBC INSERT Problem
Previous Message Josh Berkus 2005-05-12 19:31:07 Re: [NOVICE] Using PgSQL in high volume and throughput problem