Re: pg_upgrade and PGCLIENTENCODING

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: pg_upgrade and PGCLIENTENCODING
Дата
Msg-id 1301520609.31317.10.camel@vanquo.pezone.net
обсуждение исходный текст
Ответ на Re: pg_upgrade and PGCLIENTENCODING  (Bruce Momjian <bruce@momjian.us>)
Ответы Re: pg_upgrade and PGCLIENTENCODING  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-hackers
On ons, 2011-03-30 at 15:42 -0400, Bruce Momjian wrote:
> Peter Eisentraut wrote:
> > pg_upgrade complains if any of the libpq connection variables are set.
> > That's probably reasonable by default, but it seems to me that we ought
> > to allow keeping PGCLIENTENCODING set, otherwise various values and
> > error messages that are coming from the servers will not be in the
> > encoding appropriate for the terminal.
> 
> What is the error message?  I don't see pg_upgrade checking
> PGCLIENTENCODING.  I do check the cluster encodings.

It's done via check_for_libpq_envvars().

Actually, this is particular issue is new in 9.1, because the client
encoding wasn't a connection option before.




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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Problem with pg_upgrade?
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Problem with pg_upgrade?