| От | Tom Lane |
|---|---|
| Тема | Re: text and bytea |
| Дата | |
| Msg-id | 1195.1203967053@sss.pgh.pa.us обсуждение |
| Ответ на | Re: text and bytea ("hernan gonzalez" <hgonzalez@gmail.com>) |
| Ответы |
Re: text and bytea
|
| Список | pgsql-general |
"hernan gonzalez" <hgonzalez@gmail.com> writes:
> test=# create view vchartest as
> select encode(convert_to(c,'LATIN9'),'escape') as c1 from chartest;
Hmm. This isn't a very sensible combination that you've written here,
but I see the point: encode(..., 'escape') is broken in that it fails
to convert high-bit-set bytes into \nnn sequences. At least in
multibyte backend encodings, we *must* do that to produce valid textual
output. I suspect that for consistency we should do it regardless of
backend encoding.
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера