From: | Brendan Jurd <direvus(at)gmail(dot)com> |
---|---|
To: | Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com> |
Cc: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Alvaro Herrera <alvherre(at)commandprompt(dot)com>, Euler Taveira de Oliveira <euler(at)timbira(dot)com>, Robert Haas <robertmhaas(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: WIP: to_char, support for EEEE format |
Date: | 2009-08-11 06:46:44 |
Message-ID: | 37ed240d0908102346y5711345s42575bd146622986@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
2009/8/11 Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>:
> It's nice. I am playing with it, and now I found some potential issue.
> The parser is maybe too tolerant:
>
> postgres=# select to_char(3.14323,'9.9(aaaaaEEEE');
> to_char
> ----------
> 3.1e+00
> (1 row)
>
I guess we *could* add code to throw an error where the 9's aren't
placed immediately before the E's in the format pattern, but to be
honest I can't work up any enthusiasm about it.
Cheers,
BJ
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Eisentraut | 2009-08-11 08:31:30 | Re: Filtering dictionaries support and unaccent dictionary |
Previous Message | Magnus Hagander | 2009-08-11 06:33:36 | Re: Hot standby and synchronous replication status |