Re: bytea encoding - Mailing list pgsql-jdbc

From Oliver Jowett
Subject Re: bytea encoding
Date
Msg-id 4283CEA3.8060101@opencloud.com
Whole thread Raw
In response to Re: bytea encoding  (Jesse <jeichar@refractions.net>)
List 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

pgsql-jdbc by date:

Previous
From: Josh Berkus
Date:
Subject: Re: [NOVICE] Using PgSQL in high volume and throughput problem
Next
From: hiuguis@iteso.mx
Date:
Subject: JDBC INSERT Problem