Re: Thousands separator

From: Dave Page <dpage(at)pgadmin(dot)org>
To: Magnus Hagander <magnus(at)hagander(dot)net>
Cc: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: Thousands separator
Date: 2012-06-27 18:08:35
Message-ID: CA+OCxozC343cNgfEmNx0HBN6dOHPOwCPpwmyVccQPmceLseHPQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

On Wed, Jun 27, 2012 at 6:43 PM, Magnus Hagander <magnus(at)hagander(dot)net> wrote:
> Attached patch implements a setting for thousands separator in the
> query result grid (typically you'd use space or comma, but it supports
> whatever you can think of. Think of all the fun you can have by making
> it 0 or 3).
>
> It only does the query result window and not the edit grid, because
> this way we only have to insert it, and not try to parse it back
> (think about how much *less* fun it would be to parse that back if it
> was 0 or 3). I think that's perfectly ok - and it's still very useful
> in the query result.
>
> Comments?

Can't we get the separator rules from the locale (and for that matter,
the date format)?

--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

In response to

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Guillaume Lelarge 2012-06-27 20:39:06 Re: Numeric alignment in query grid
Previous Message Magnus Hagander 2012-06-27 17:43:21 Thousands separator