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

2001-09-10 Thread Tatsuo Ishii
> > 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

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

2001-09-10 Thread Karel Zak
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 ClientEncodin

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

2001-09-09 Thread Tatsuo Ishii
> > Why? set_default_client_encoding does the job anyway. > > Here can't be used static default encoding as for DatabaseEncoding, because > typical code is > > if (!ClientEncoding) > /* ...means "if user doesn't set itself client >* encoding by SET command" >*/ >

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

2001-09-09 Thread Karel Zak
On Sat, Sep 08, 2001 at 11:51:24PM +0900, Tatsuo Ishii wrote: > > > > > CC=cc CXX=CC ./configure --prefix=/usr/local/pgsql --enable-syslog \ > > > > > --with-CXX --with-perl --enable-multibyte --enable-cassert \ > > > > > --with-includes=/usr/local/include --with-libs=/usr/local/lib \

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

2001-09-08 Thread Tatsuo Ishii
> > Karel, > > > > The bug Larry reported seems for such a case of connecting non > > existent database. The backend tries to send the error message to the > > frontend using pg_server_to_client WITHOUT getting an encoding info > > from the database. To fix this Larry's patch or you stat in the >

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

2001-09-08 Thread Tatsuo Ishii
> Tatsuo, I applied this patch. Please fix as needed. Sure. I have come back from the business trip. I will take care of this. -- Tatsuo Ishii ---(end of broadcast)--- TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]

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

2001-09-08 Thread Larry Rosenman
* Tatsuo Ishii <[EMAIL PROTECTED]> [010908 10:02]: > > > > > CC=cc CXX=CC ./configure --prefix=/usr/local/pgsql --enable-syslog \ > > > > > --with-CXX --with-perl --enable-multibyte --enable-cassert \ > > > > > --with-includes=/usr/local/include --with-libs=/usr/local/lib \ > > > > >

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

2001-09-08 Thread Bruce Momjian
Tatsuo, I applied this patch. Please fix as needed. > > > > > CC=cc CXX=CC ./configure --prefix=/usr/local/pgsql --enable-syslog \ > > > > > --with-CXX --with-perl --enable-multibyte --enable-cassert \ > > > > > --with-includes=/usr/local/include --with-libs=/usr/local/lib \ > > >

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

2001-09-08 Thread Tatsuo Ishii
> > > > CC=cc CXX=CC ./configure --prefix=/usr/local/pgsql --enable-syslog \ > > > > --with-CXX --with-perl --enable-multibyte --enable-cassert \ > > > > --with-includes=/usr/local/include --with-libs=/usr/local/lib \ > > > > --enable-debug \ > > > > --with-tcl --w

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

2001-09-08 Thread Bruce Momjian
Patch applied. Thanks. > > On Sat, Sep 08, 2001 at 10:29:38AM +0200, Karel Zak wrote: > > > On Fri, Sep 07, 2001 at 09:06:18PM -0500, Larry Rosenman wrote: > > > > I finally got all the way through a compile set: > > > > > > > > CC=cc CXX=CC ./configure --prefix=/usr/local/pgsql --enable-sys

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

2001-09-08 Thread Karel Zak
> On Sat, Sep 08, 2001 at 10:29:38AM +0200, Karel Zak wrote: > > On Fri, Sep 07, 2001 at 09:06:18PM -0500, Larry Rosenman wrote: > > > I finally got all the way through a compile set: > > > > > > CC=cc CXX=CC ./configure --prefix=/usr/local/pgsql --enable-syslog \ > > > --with-CXX --with-perl

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

2001-09-08 Thread Karel Zak
On Fri, Sep 07, 2001 at 09:06:18PM -0500, Larry Rosenman wrote: > I finally got all the way through a compile set: > > CC=cc CXX=CC ./configure --prefix=/usr/local/pgsql --enable-syslog \ > --with-CXX --with-perl --enable-multibyte --enable-cassert \ > --with-includes=/usr/local/incl

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

2001-09-07 Thread Larry Rosenman
* Larry Rosenman <[EMAIL PROTECTED]> [010907 21:06]: > I finally got all the way through a compile set: > > CC=cc CXX=CC ./configure --prefix=/usr/local/pgsql --enable-syslog \ > --with-CXX --with-perl --enable-multibyte --enable-cassert \ > --with-includes=/usr/local/include --with-

[HACKERS] CURRENT CVS: MULTIBYTE: CANT CONNECT....

2001-09-07 Thread Larry Rosenman
I finally got all the way through a compile set: CC=cc CXX=CC ./configure --prefix=/usr/local/pgsql --enable-syslog \ --with-CXX --with-perl --enable-multibyte --enable-cassert \ --with-includes=/usr/local/include --with-libs=/usr/local/lib \ --enable-debug \ --wi