Re: WIP: to_char, support for EEEE format - Mailing list pgsql-hackers

From Brendan Jurd
Subject Re: WIP: to_char, support for EEEE format
Date
Msg-id 37ed240d0908031903j177f9289q4feceb40ec6692ae@mail.gmail.com
Whole thread Raw
In response to Re: WIP: to_char, support for EEEE format  (Brendan Jurd <direvus@gmail.com>)
List pgsql-hackers
2009/8/3 Brendan Jurd <direvus@gmail.com>:
> Okay, so Oracle just forces the output wider to accomodate the
> exponent (i.e., you can't rely on it being fixed-width).
>
> I can adjust the patch to imitate this behaviour; should be able to
> post a new revision within 24 hours.
>

Please find attached version 5 of the patch, which allows for
exponents with any number of digits (up to a total string length of
MAXDOUBLEWIDTH).

Cheers,
BJ

Attachment

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: pg_proc.probin should become text?
Next
From: KaiGai Kohei
Date:
Subject: Re: SE-PostgreSQL Specifications