Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgadmin-hackers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group