Re: Recommended approach for upgrading DBs with nonmatching encodings

Поиск
Список
Период
Сортировка
От Martin Pitt
Тема Re: Recommended approach for upgrading DBs with nonmatching encodings
Дата
Msg-id 20080330203938.GO6486@piware.de
обсуждение исходный текст
Ответ на Recommended approach for upgrading DBs with nonmatching encodings  (Martin Pitt <martin@piware.de>)
Ответы Re: Recommended approach for upgrading DBs with nonmatching encodings  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
Hi again,
Martin Pitt [2008-03-30 20:40 +0200]:
> My current pg_upgradecluster uses pg_dumpall to copy the schema, and a
> per-db pg_dump to copy the DB table contents. Will calling pg_dump
> with  --encoding=3D<encoding of 8.3 server's locale> always DTRT and is
> it meant to solve this problem?=20

One problem with this is that while pg_dump -E UTF8 works (with SQL
output), -E does not seem to have any effect when using -Fc. However,
-Fc is a must for a reasonably robust automatic upgrade script.

Thanks in advance,

Martin
--=20
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)

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

Предыдущее
От: Martin Pitt
Дата:
Сообщение: Recommended approach for upgrading DBs with nonmatching encodings
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Recommended approach for upgrading DBs with nonmatching encodings