Re: WIP: to_char, support for EEEE format

From: Brendan Jurd <direvus(at)gmail(dot)com>
To: Euler Taveira de Oliveira <euler(at)timbira(dot)com>
Cc: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, 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-04 02:03:34
Message-ID: 37ed240d0908031903j177f9289q4feceb40ec6692ae@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

2009/8/3 Brendan Jurd <direvus(at)gmail(dot)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 Content-Type Size
EEEE_5.diff.bz2 application/x-bzip2 3.1 KB
EEEE_4-to-5.diff application/octet-stream 1.7 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message KaiGai Kohei 2009-08-04 02:04:07 Re: SE-PostgreSQL Specifications
Previous Message Tom Lane 2009-08-04 02:03:11 pg_proc.probin should become text?