Skip site navigation (1) Skip section navigation (2)

Re: BUG #4196: Backend crash possible with psql

From: Daniel Migowski <dmigowski(at)ikoffice(dot)de>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #4196: Backend crash possible with psql
Date: 2008-05-26 16:08:01
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-bugs
Hello, Tom,

Tom Lane schrieb:
> Yeah, that's what I think too.  Specifically, we expect the gettext
> package to deliver translated error messages in the server_encoding,
> but it seems that's not what we're getting on Windows.  Without having
> dug into the gettext code, I wonder whether it is looking at lc_ctype
> and thinking it should return WIN1252 strings.
> Another interesting question is how initdb allowed you to select the
> above combination of settings.  8.3 is supposed to enforce that
> server_encoding is the same as the encoding implied by lc_ctype,
> which is evidently not the case here. 
Why shouldn't this be possible? It must be possible to store the data in 
UTF-8, and of course, to use this a the server encoding. The characters 
used should be collated by German and use the german upper/lower 
conventions. Looks perfectly sane to me.
> I recall we were tinkering with
> that code before 8.3 release, but I guess it's still not right :-(
> 			regards, tom lane
With best regards,
Daniel Migowski

In response to

pgsql-bugs by date

Next:From: Tom LaneDate: 2008-05-26 16:10:41
Subject: Re: BUG #4196: Backend crash possible with psql
Previous:From: Tom LaneDate: 2008-05-26 15:58:29
Subject: Re: BUG #4196: Backend crash possible with psql

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group