Re: 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: Eugen Nedelcu <eugen(at)sifolt(dot)ro>, PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: thousands comma numeric formatting in psql
Date: 2005-07-14 13:30:36
Message-ID: 14189.1121347836@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> OK, I have applied the following patch to make numerisep a boolean,

"numericsep" is no longer even remotely reasonable as a name for the
parameter. Something like "numeric_use_locale" would be appropriate
(but probably too wordy).

> The only question I have is whether those locale values are single-byte
> strings in all locals, or could they be multi-byte or multi-character,
> in which case I have to treat them as strings.

I think you have to assume they could be strings.

regards, tom lane

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Neil Conway 2005-07-14 13:53:35 Re: Final cleanup of SQL:1999 references
Previous Message Peter Eisentraut 2005-07-14 10:32:08 Re: thousands comma numeric formatting in psql