Re: client_encoding directive is ignored in

Поиск
Список
Период
Сортировка
От Tatsuo Ishii
Тема Re: client_encoding directive is ignored in
Дата
Msg-id 20030130.101350.41629451.t-ishii@sra.co.jp
обсуждение исходный текст
Ответ на Re: client_encoding directive is ignored in postgresql.conf  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: client_encoding directive is ignored in  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-hackers
> Tatsuo Ishii <t-ishii@sra.co.jp> writes:
> > + /* Flag to we need to initialize client encoding info */
> > + static bool need_to_init_client_encoding = -1;
> 
> Surely that should be int, not bool.

Oops. Will fix.

> > !                     if (!PQsendQuery(conn, "begin; select pg_client_encoding(); commit"))
> 
> Doesn't this break compatibility with pre-7.2 databases?  AFAICT that
> function was introduced in 7.2.

Yes, but there seems no other way to solve the problem and I thought we
do not guarantee the compatibilty between 7.3 frontend and pre 7.3 servers.
--
Tatsuo Ishii


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

Предыдущее
От: cbbrowne@cbbrowne.com
Дата:
Сообщение: Re: [mail] Re: Windows Build System
Следующее
От: "Marc G. Fournier"
Дата:
Сообщение: v7.2.4 bundled ...