Re: client_encoding directive is ignored in

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tatsuo Ishii <t-ishii(at)sra(dot)co(dot)jp>
Cc: tgl(at)sss(dot)pgh(dot)pa(dot)us, pgsql-hackers(at)postgresql(dot)org
Subject: Re: client_encoding directive is ignored in
Date: 2003-02-15 00:19:13
Message-ID: 200302150019.h1F0JD324370@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tatsuo Ishii wrote:
> > 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.

Yep. Tatsuo, you should apply the patch to fix the problem. Shame this
didn't make it into 7.3.2. Should we backpatch?

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2003-02-15 00:24:12 Re: [HACKERS] Linux.conf.au 2003 Report
Previous Message Marc G. Fournier 2003-02-14 23:46:10 Re: Berkeley and CMU classes adopt/extend PostgreSQL