Re: Initdb -E LATIN1 fails when no multibyte support compiled in (current CVS) - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Initdb -E LATIN1 fails when no multibyte support compiled in (current CVS)
Date
Msg-id Pine.LNX.4.30.0108121246590.714-100000@peter.localdomain
Whole thread Raw
In response to Initdb -E LATIN1 fails when no multibyte support compiled in (current CVS)  (Rene Pijlman <rpijlman@wanadoo.nl>)
Responses Re: Initdb -E LATIN1 fails when no multibyte support compiled in (current CVS)
List pgsql-hackers
Rene Pijlman writes:

> But now the problem: LATIN1 is of course a singlebyte encoding.
> So why is multibyte support needed to use it?

--enable-multibyte really gives you two things:

1. ability to handle multi-byte characters sets in string mashing
functions

2. character set conversion between client and server

These things are technically unrelated but the group of users that need
this seems to have coincided.  If you want to propose splitting this up it
could be discussed.  Maybe #2 could even be on by default.

> If this is the intended behaviour, I think the documentation of
> --enable-multibyte in the INSTALL file (and perhaps in other
> places) should be fixed. And if at all possible, it should be
> renamed too.

I think the INSTALL file refers you to the Admin Guide for more
information, where this is explained.  Maybe that needs to be improved.

-- 
Peter Eisentraut   peter_e@gmx.net   http://funkturm.homeip.net/~peter



pgsql-hackers by date:

Previous
From: Rene Pijlman
Date:
Subject: Initdb -E LATIN1 fails when no multibyte support compiled in (current CVS)
Next
From: "Hiroshi Inoue"
Date:
Subject: RE: PL/pgSQL bug?