Re: [PATCHES] thousands comma numeric formatting in psql

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bruce Momjian <pgman(at)candle(dot)pha(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:23:21
Message-ID: 19549.1121181801@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

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.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2005-07-12 15:26:00 Re: [PATCHES] thousands comma numeric formatting in psql
Previous Message Bruce Momjian 2005-07-12 14:48:40 Re: [PATCHES] thousands comma numeric formatting in psql

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2005-07-12 15:26:00 Re: [PATCHES] thousands comma numeric formatting in psql
Previous Message Bruce Momjian 2005-07-12 14:48:40 Re: [PATCHES] thousands comma numeric formatting in psql