| От | Tom Lane |
|---|---|
| Тема | Re: \COPY to accept non UTF-8 chars in CHAR columns |
| Дата | |
| Msg-id | 8922.1585323994@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | \COPY to accept non UTF-8 chars in CHAR columns (Matthias Apitz <guru@unixarea.de>) |
| Ответы |
Re: \COPY to accept non UTF-8 chars in CHAR columns
|
| Список | pgsql-general |
Matthias Apitz <guru@unixarea.de> writes:
> In short, it there a way to let \COPY accept such broken ISO bytes, just
> complaining about, but not stopping the insert of the row?
No. We don't particularly believe in the utility of invalid data.
If you don't actually care about what encoding your data is in,
you could use SQL_ASCII as the database "encoding" and thereby
disable all UTF8-specific behavior. Otherwise, maybe this conversion
is a good time to clean up the mess?
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера