Re: BUG #3932: utf-8 and upper()/lower(): PANIC: ERRORDATA_STACK_SIZE exceeded - Mailing list pgsql-bugs

From Alvaro Herrera
Subject Re: BUG #3932: utf-8 and upper()/lower(): PANIC: ERRORDATA_STACK_SIZE exceeded
Date
Msg-id 20080205130330.GD32363@alvh.no-ip.org
Whole thread Raw
In response to BUG #3932: utf-8 and upper()/lower(): PANIC: ERRORDATA_STACK_SIZE exceeded  ("Florian Wunderlich" <fwunderlich@factor3.de>)
Responses Re: BUG #3932: utf-8 and upper()/lower(): PANIC: ERRORDATA_STACK_SIZE exceeded  (Florian Wunderlich <fwunderlich@factor3.de>)
List pgsql-bugs
Florian Wunderlich wrote:

> - input file in encoding iso-8859-1:
>
> set client_encoding='iso-8859-1';
> select upper('ä'), lower('Ä');
>
> (note: the argument to upper is a lower case a umlaut, while the argument to
> lower is an upper case a umlaut)
>
> - database "iso" with encoding iso-8859-1,
>   database "utf" with encoding utf-8,
>   both in a cluster with locale=de_DE

I think this is just a case of a misconfigured server.  If you choose
locale de_DE, which supports only the iso-8859-1 encoding, it is an
error to build a database with utf8 encoding -- which is why 8.3 rejects
that combination.

--
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

pgsql-bugs by date:

Previous
From: "Florian Wunderlich"
Date:
Subject: BUG #3932: utf-8 and upper()/lower(): PANIC: ERRORDATA_STACK_SIZE exceeded
Next
From: Florian Wunderlich
Date:
Subject: Re: BUG #3932: utf-8 and upper()/lower(): PANIC: ERRORDATA_STACK_SIZE exceeded