Re: [PATCHES] CURRENT CVS: MULTIBYTE: CANT CONNECT....

From: Karel Zak <zakkr(at)zf(dot)jcu(dot)cz>
To: Tatsuo Ishii <t-ishii(at)sra(dot)co(dot)jp>
Cc: pgman(at)candle(dot)pha(dot)pa(dot)us, pgsql-hackers(at)postgreSQL(dot)org, pgsql-patches(at)postgreSQL(dot)org
Subject: Re: [PATCHES] CURRENT CVS: MULTIBYTE: CANT CONNECT....
Date: 2001-09-10 07:13:00
Message-ID: 20010910091300.C14578@zf.jcu.cz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-hackers pgsql-patches

On Mon, Sep 10, 2001 at 03:50:46PM +0900, Tatsuo Ishii wrote:

> Don't worry about that. Before anything user could do, postgres's
> start up procedure sets the appropreate encoding to ClientEncoding
> variable.

Larry's backend knows method how call conversion routines, without
set ClientEncoding:-) IMHO with my patch is always sure that backend
never crash for this.

> Also please note that "wanted is after connection set as default
> ClientEncoding same encoding as actual DabaseEncoding" is not
> corrent. The ClientEncoding might be set differently if
> PGCLIENTENCODING is set before postmaster starts up.

You are right. I was mean "if PGCLIENTENCODING is not set".

Karel

--
Karel Zak <zakkr(at)zf(dot)jcu(dot)cz>
http://home.zf.jcu.cz/~zakkr/

C, PostgreSQL, PHP, WWW, http://docs.linux.cz, http://mape.jcu.cz

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tatsuo Ishii 2001-09-10 08:35:36 Re: [PATCHES] CURRENT CVS: MULTIBYTE: CANT CONNECT....
Previous Message Tatsuo Ishii 2001-09-10 06:50:46 Re: [PATCHES] CURRENT CVS: MULTIBYTE: CANT CONNECT....

Browse pgsql-hackers by date

  From Date Subject
Next Message Karel Zak 2001-09-10 07:21:05 Re: INV_ARCHIVE?
Previous Message Tatsuo Ishii 2001-09-10 06:50:46 Re: [PATCHES] CURRENT CVS: MULTIBYTE: CANT CONNECT....

Browse pgsql-patches by date

  From Date Subject
Next Message Tatsuo Ishii 2001-09-10 08:35:36 Re: [PATCHES] CURRENT CVS: MULTIBYTE: CANT CONNECT....
Previous Message Tatsuo Ishii 2001-09-10 06:50:46 Re: [PATCHES] CURRENT CVS: MULTIBYTE: CANT CONNECT....