Re: to_char PL/MI fix

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Karel Zak <zakkr(at)zf(dot)jcu(dot)cz>
Cc: pgsql-patches <pgsql-patches(at)postgreSQL(dot)org>
Subject: Re: to_char PL/MI fix
Date: 2003-02-24 19:16:07
Message-ID: Pine.LNX.4.44.0302242010270.2108-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)gmx(dot)net

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2003-02-24 21:03:58 Re: performance: use pread instead of lseek+read
Previous Message Tom Lane 2003-02-24 18:35:15 Re: psql patch