Re: UTF-8 context of BYTEA datatype??

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-general(at)postgresql(dot)org
Cc: Rafal Pietrak <rafal(at)zorro(dot)isa-geek(dot)com>
Subject: Re: UTF-8 context of BYTEA datatype??
Date: 2006-05-29 12:00:25
Message-ID: 200605291400.25924.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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/

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Martijn van Oosterhout 2006-05-29 12:01:15 Re: UTF-8 context of BYTEA datatype??
Previous Message Rafal Pietrak 2006-05-29 11:35:58 UTF-8 context of BYTEA datatype??