Re: [PATCHES] thousands comma numeric formatting in psql

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, pgsql-hackers(at)postgresql(dot)org, Eugen Nedelcu <eugen(at)sifolt(dot)ro>
Subject: Re: [PATCHES] thousands comma numeric formatting in psql
Date: 2005-07-12 15:26:00
Message-ID: 200507121526.j6CFQ0Q01393@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Tom Lane wrote:
> Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)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.

Well, how many people have langinfo? I don't. If this is what the
group wants, Someone with langinfo is going to have to code the
configure tests and convert it to a binary setting, or remove the patch.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2005-07-12 15:32:52 Re: [PATCHES] thousands comma numeric formatting in psql
Previous Message Tom Lane 2005-07-12 15:23:21 Re: [PATCHES] thousands comma numeric formatting in psql

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2005-07-12 15:32:52 Re: [PATCHES] thousands comma numeric formatting in psql
Previous Message Tom Lane 2005-07-12 15:23:21 Re: [PATCHES] thousands comma numeric formatting in psql