Re: to_char PL/MI fix - Mailing list pgsql-patches

From Peter Eisentraut
Subject Re: to_char PL/MI fix
Date
Msg-id Pine.LNX.4.44.0302242010270.2108-100000@peter.localdomain
Whole thread Raw
In response to to_char PL/MI fix  (Karel Zak <zakkr@zf.jcu.cz>)
Responses Re: to_char PL/MI fix  (Karel Zak <zakkr@zf.jcu.cz>)
List pgsql-patches
Karel Zak writes:

>  Peter found bug in the to_char() routine for PL/MI options. This
>  patch fix it -- but this patch doesn't contains tests or docs fixes. I
>  will send it later.

I think there is still a problem with PL.  It puts the '+' in aligned
position and '-' anchored to the number.  Is that correct?  If PL were to
behave like the converse of MI and like it is documented, it would put a
'+' in aligned position and never put a '-' anywhere.  Also, due to this
apparent problem, PL creates extra whitespace in front of the number.

--
Peter Eisentraut   peter_e@gmx.net


pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: psql patch
Next
From: Tom Lane
Date:
Subject: Re: performance: use pread instead of lseek+read