From: | Martijn van Oosterhout <kleptog(at)svana(dot)org> |
---|---|
To: | Ben Trewern <bendottrewern(at)mowlem(dot)com> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: to_char bug? |
Date: | 2005-03-02 10:32:19 |
Message-ID: | 20050302103212.GA4567@svana.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
If the number is negative there needs to be room for the minus sign...
On Tue, Mar 01, 2005 at 09:25:02AM -0000, Ben Trewern wrote:
> >From the docs:
>
> "FM suppresses leading zeroes and trailing blanks that would otherwise be
> added to make the output of a pattern be fixed-width"
>
> It works now but for one I don't understand why the space is added in the
> firs place and two I think the docs don't tell the whole story ie leading
> blanks and I assume trailing zeros if applicable.
--
Martijn van Oosterhout <kleptog(at)svana(dot)org> http://svana.org/kleptog/
> Patent. n. Genius is 5% inspiration and 95% perspiration. A patent is a
> tool for doing 5% of the work and then sitting around waiting for someone
> else to do the other 95% so you can sue them.
From | Date | Subject | |
---|---|---|---|
Next Message | Jonathan Schreiter | 2005-03-02 11:15:35 | pgadmin3 / postgresql newbie question |
Previous Message | Sim Zacks | 2005-03-02 10:03:16 | Re: cursor already in use error |