Re: BYTEA

From: Thomas Kellerer <spam_eater(at)gmx(dot)net>
To: pgsql-sql(at)postgresql(dot)org
Subject: Re: BYTEA
Date: 2016-01-17 22:13:09
Message-ID: n7h3lk$d6a$1@ger.gmane.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Andreas Joseph Krogh schrieb am 17.01.2016 um 23:09:
> > Do I really *Need to escape/encode binary data before sending to DB
> > then do the reverse after retrieving the data?*
> > *
> > *
> > If so, what (*Java*) codes should I use to achieve this goal (I am using
> > the Java to interface with the DB)?
>
> https://jdbc.postgresql.org/documentation/94/binary-data.html
>
> Save yourself the trouble and don't go this route. Use https://github.com/impossibl/pgjdbc-ng instead.

Can you elaborate?

Using the "official" JDBC driver with bytea column works just fine for me.

In response to

  • Re: BYTEA at 2016-01-17 22:09:23 from Andreas Joseph Krogh

Responses

  • Re: BYTEA at 2016-01-18 13:06:55 from Andreas Joseph Krogh

Browse pgsql-sql by date

  From Date Subject
Next Message Thomas Kellerer 2016-01-17 22:17:29 Re: BLOBs
Previous Message Andreas Joseph Krogh 2016-01-17 22:09:23 Re: BYTEA