Re: thousands comma numeric formatting in psql

From: Alvaro Herrera <alvherre(at)surnet(dot)cl>
To: pgsql-patches(at)postgresql(dot)org, Bruno Wolff III <bruno(at)wolff(dot)to>
Subject: Re: thousands comma numeric formatting in psql
Date: 2005-06-21 13:34:08
Message-ID: 20050621133408.GA17112@surnet.cl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

On Tue, Jun 21, 2005 at 04:03:43PM +0300, Eugen Nedelcu wrote:

> This is a patch for psql client and not for the backend. It's role
> is to output numbers to screen in easy readable form (2,345,675,454,543
> is much easier to read then 2345675454543.456). I think graphical
> clients like pgAdmin or phppgadmin have a way to do this. I don't know
> this for sure but I will investigate it.

I think it would be much nicer if it was a backend setting. If it
depended on the locale setting (LC_NUMERIC, I think) and worked for both
input and output, it would be very good.

--
Alvaro Herrera (<alvherre[a]surnet.cl>)
"Uno puede defenderse de los ataques; contra los elogios se esta indefenso"

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruno Wolff III 2005-06-21 13:34:36 Re: thousands comma numeric formatting in psql
Previous Message Tom Lane 2005-06-21 13:23:39 Re: [PATCHES] O_DIRECT for WAL writes

Browse pgsql-patches by date

  From Date Subject
Next Message Bruno Wolff III 2005-06-21 13:34:36 Re: thousands comma numeric formatting in psql
Previous Message Tom Lane 2005-06-21 13:23:39 Re: [PATCHES] O_DIRECT for WAL writes