Re: BUG #2861: when backup UTF-8 database,pgdump add comments not encoded in UTF-8
В списке pgsql-bugs по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: BUG #2861: when backup UTF-8 database,pgdump add comments not encoded in UTF-8 |
| Дата | |
| Msg-id | 25766.1167079599@sss.pgh.pa.us обсуждение |
| Ответ на | BUG #2861: when backup UTF-8 database,pgdump add comments not encoded in UTF-8 ("goodsforyou" <goodsforyou@gmail.com>) |
| Список | pgsql-bugs |
"goodsforyou" <goodsforyou@gmail.com> writes:
> PostgreSQL version: 8.2.0 win32
> When I make a backup of a UTF8 database then pg_dump add some comment to
> backup file:
> -- Started on 2006-12-23 11:04:38 ä¸å½æ åæ¶é´
You *sure* that pg_dump is 8.2.0? Because we fixed that before 8.2 rc1 ...
2006-11-21 17:19 tgl
* src/: backend/utils/error/elog.c,
bin/pg_dump/pg_backup_archiver.c, bin/pg_dump/pg_dumpall.c:
Suppress timezone (%Z) part of timestamp display when running on
Windows, because on that platform strftime produces localized zone
names in varying encodings. Even though it's only in a comment,
this can cause encoding errors when reloading the dump script. Per
suggestion from Andreas Seltenreich. Also, suppress %Z on Windows
in the %s escape of log_line_prefix ... not sure why this one is
different from the other two, but it shouldn't be.
regards, tom lane
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера