UTF-8 for bytea

Поиск
Список
Период
Сортировка
От Robert James
Тема UTF-8 for bytea
Дата
Msg-id CAGYyBghptsUub=W9UhLp8gyX9hyfY9MfgGp2MeHOR8+vd3dgaQ@mail.gmail.com
обсуждение исходный текст
Ответы Re: UTF-8 for bytea  (Marko Kreen <markokr@gmail.com>)
Список pgsql-general
When trying to INSERT on Postgres (9.1) to a bytea column, via E''
escaped strings, I get the strings rejected because they're not UTF8.
I'm confused, since bytea isn't for strings but for binary.  What
causes this? How do I fix this? (I know that escaped strings is not
the best way for binary data, but this is what I'm stuck with for now
- it's a legacy system which I need to maintain.)

В списке pgsql-general по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: variable not found in subplan target list
Следующее
От: Benjamin Smith
Дата:
Сообщение: Re: Recommendations for SSDs in production?