Re: pg_dump and client_encoding

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: pg_dump and client_encoding
Дата
Msg-id 200401061258.28059.peter_e@gmx.net
обсуждение исходный текст
Ответ на pg_dump and client_encoding  (Jan Poslusny <pajout@gingerall.cz>)
Ответы C API Documentation  (Karam Chand <karam_chand03@yahoo.com>)
Список pgsql-general
Jan Poslusny wrote:
> I have following experience:
> After pg_dump mydb > db.out output contains one or more \connect -
> somebody, but client_encoding is not set. It causes restoration
> problems on  databases with different default client_encoding. I
> think client_encoding may be set after each \connect.

The client_encoding parameter specifies to the server what encoding the
client uses.  Presumably, that stays the same during one psql run.

Maybe you haven't set the client encoding at all?  Try setting the
environment variable PGCLIENTENCODING.  Else, please post a more
specific description of the symptoms of your problem.


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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: release notes/Appendix E in documentation
Следующее
От: Bruno Wolff III
Дата:
Сообщение: Re: Any way to have CREATEUSER privs without having all privs?