Re: Images stored in bytea datatype - Mailing list pgsql-novice

From Alan Hodgson
Subject Re: Images stored in bytea datatype
Date
Msg-id 7215927.NSC1j55Iae@skynet.simkin.ca
Whole thread Raw
In response to Re: Images stored in bytea datatype  (ss dev <ssdev938@gmail.com>)
List pgsql-novice
On Monday, April 14, 2014 04:40:50 PM ss dev wrote:
> Hello,
>     We are looking at exporting the data from postgres database and import
> it to a different program. On postgres database the images are stored in
> bytea data type. How can I transfer the data from postgres to a tiff
> format. Any help is appreciable.
>
> Thanks,
> Dev.

For whatever language you're using to do it, consult the relevant docs for
accessing bytea fields. They're usually pretty easy for reading, although pay
attention to the PostgreSQL server setting for bytea_output - most older
drivers expect that to be in "escape" format, not the more recent "hex"
format.


pgsql-novice by date:

Previous
From: ss dev
Date:
Subject: Re: Images stored in bytea datatype
Next
From: James David Smith
Date:
Subject: Re: Don't understand error?