Re: COPY doesn't works when containing ' ' or ' ' characters on db
В списке pgsql-admin по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: COPY doesn't works when containing ' ' or ' ' characters on db |
| Дата | |
| Msg-id | 3309.983294341@sss.pgh.pa.us обсуждение |
| Ответ на | Re: COPY doesn't works when containing ' ' or ' ' characters on db ("Oliver Elphick" <olly@lfix.co.uk>) |
| Ответы |
Re: [HACKERS] Re: COPY doesn't works when containing ' '
or ' ' characters on db
|
| Список | pgsql-admin |
"Oliver Elphick" <olly@lfix.co.uk> writes:
> I think this happens when the front-end encoding is SQL_ASCII and the
> database is using UNICODE. Then, there are misunderstandings between
> front-end and back-end, so that a single character with the eighth bit
> set may be sent by the front-end and interpreted by the back-end as the
> first half of a UNICODE two-byte character.
I wondered about that, but his examples had one or more characters
between the eighth-bit-set character and the '|', so this doesn't seem
to explain the problem.
Still, if it went away after moving to ASCII encoding, it clearly is
a multibyte issue of some sort.
regards, tom lane
В списке pgsql-admin по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера