Re: client_encoding directive is ignored in

From: Tatsuo Ishii <t-ishii(at)sra(dot)co(dot)jp>
To: tgl(at)sss(dot)pgh(dot)pa(dot)us
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: client_encoding directive is ignored in
Date: 2003-01-30 01:13:50
Message-ID: 20030130.101350.41629451.t-ishii@sra.co.jp
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.

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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message steve 2003-01-30 01:24:55 Re: unsubscribe
Previous Message cbbrowne 2003-01-29 23:15:19 Re: [mail] Re: Windows Build System