Re: UTF-8 context of BYTEA datatype??

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: UTF-8 context of BYTEA datatype??
Дата
Msg-id 200605291400.25924.peter_e@gmx.net
обсуждение исходный текст
Ответ на UTF-8 context of BYTEA datatype??  (Rafal Pietrak <rafal@zorro.isa-geek.com>)
Список 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 по дате отправления: