Re: thousands comma numeric formatting in psql

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

Tom Lane wrote:
> > 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.

OK, the following applied patch enables multi-byte locale strings for
numericsep. I also reorganized the code a little.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

Attachment Content-Type Size
unknown_filename text/plain 4.7 KB

In response to

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2005-07-14 21:28:04 Re: thousands comma numeric formatting in psql
Previous Message Joshua D. Drake 2005-07-14 19:44:18 Re: [PATCHES] O_DIRECT for WAL writes