Re: Unicode UTF-8 table formatting for psql text output - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Unicode UTF-8 table formatting for psql text output
Date
Msg-id 1086.1254256137@sss.pgh.pa.us
Whole thread Raw
In response to Re: Unicode UTF-8 table formatting for psql text output  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: Unicode UTF-8 table formatting for psql text output
Re: Unicode UTF-8 table formatting for psql text output
List pgsql-hackers
Peter Eisentraut <peter_e@gmx.net> writes:
> On Tue, 2009-09-29 at 12:01 -0400, Tom Lane wrote:
>> The bigger question is exactly how we expect this stuff to interact with
>> pg_regress' --no-locale switch.  We already do clear all these variables
>> when --no-locale is specified.  I am wondering just what --locale is
>> supposed to do, and whether selectively lobotomizing the LC stuff has
>> any real use at all.

> We should do the LANG or LC_CTYPE thing only on the client,
> unconditionally.  The --no-locale/--locale options should primarily
> determine what the temporary server uses.

Well, that seems fairly reasonable, but it's going to require some
refactoring of pg_regress.  The initialize_environment function
determines what happens in both the client and the temp server.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: navigation menu for documents
Next
From: Tom Lane
Date:
Subject: Re: Unicode UTF-8 table formatting for psql text output