Re: [PATCHES] thousands comma numeric formatting in psql - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [PATCHES] thousands comma numeric formatting in psql
Date
Msg-id 19549.1121181801@sss.pgh.pa.us
Whole thread Raw
In response to Re: [PATCHES] thousands comma numeric formatting in psql  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: [PATCHES] thousands comma numeric formatting in psql
List pgsql-hackers
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> We do allow MDY and DMY specification, but that controls both input and
> output in the server, while this just controls psql display.  It is a
> good question how other settings should be handled, but I don't know the
> answers.  Anyone?

This patch sounds quite a lot different from what I thought we had
agreed to, which was a way to specify that the client-side LC_NUMERIC
locale settings should be used for formatting numbers.  I think the only
pset should be "locale on" or "locale not on".  This business about
space is a red herring: if you want that, create a locale spec that
specifies it.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [PATCHES] thousands comma numeric formatting in psql
Next
From: Bruce Momjian
Date:
Subject: Re: [PATCHES] thousands comma numeric formatting in psql