Re: client_encoding directive is ignored in postgresql.conf

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Tatsuo Ishii <t-ishii(at)sra(dot)co(dot)jp>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: client_encoding directive is ignored in postgresql.conf
Date: 2003-01-29 16:24:17
Message-ID: 26908.1043857457@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tatsuo Ishii <t-ishii(at)sra(dot)co(dot)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.

> ! 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.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Vince Vielhaber 2003-01-29 16:27:26 Re: [mail] Re: Windows Build System
Previous Message Katie Ward 2003-01-29 16:18:17 Re: [mail] Re: Windows Build System