Re: UTF-8 context of BYTEA datatype?? - Mailing list pgsql-general

From Peter Eisentraut
Subject Re: UTF-8 context of BYTEA datatype??
Date
Msg-id 200605291400.25924.peter_e@gmx.net
Whole thread Raw
In response to UTF-8 context of BYTEA datatype??  (Rafal Pietrak <rafal@zorro.isa-geek.com>)
List pgsql-general
Am Montag, 29. Mai 2006 13:35 schrieb Rafal Pietrak:
> How come the bytearea is *interpreted* as having encoding?

If you pass data in text mode, all data is subject to encoding handling.  If
you don't want that, you need to use the binary mode.

> Or to put it the other way around: What column datatype should I use for
> an opoque binary value?

bytea is the one.

--
Peter Eisentraut
http://developer.postgresql.org/~petere/

pgsql-general by date:

Previous
From: Rafal Pietrak
Date:
Subject: UTF-8 context of BYTEA datatype??
Next
From: Martijn van Oosterhout
Date:
Subject: Re: UTF-8 context of BYTEA datatype??