From: | Karel Zak <zakkr(at)zf(dot)jcu(dot)cz> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | pgsql-patches <pgsql-patches(at)postgreSQL(dot)org> |
Subject: | Re: [BUGS] to_timestamp not stable if date string shorter than |
Date: | 2003-09-03 15:48:35 |
Message-ID: | 20030903154835.GE5820@zf.jcu.cz |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs pgsql-patches |
On Wed, Sep 03, 2003 at 11:10:33AM -0400, Tom Lane wrote:
> Karel Zak <zakkr(at)zf(dot)jcu(dot)cz> writes:
> > Fixed. All tests passed. My court is without ball now. The patch is
> > attached.
>
> Applied to CVS HEAD. I also applied just the
>
> + if (flag == FROM_CHAR && *s=='\0')
> + break;
>
> part to the 7.3 branch --- the rest of the changes didn't apply cleanly,
> and seemed unrelated anyway. This fixes the immediate complaint, but
Hmm.. but the patch fix another small bug which I found today.
Please, if you don't submit all of the patch, fix two lines in
do_to_timestamp():
line: 2997 must be:
incache = TRUE;
line: 3039 must be:
if (!incache)
(Note: this another bug appear if format picture for date/time is
greater than 128 bytes -- for this probably nobody find it yet)
> if there's some reason to apply the rest to 7.3.*, would you submit
> an additional patch against that branch?
Yep.
Karel
--
Karel Zak <zakkr(at)zf(dot)jcu(dot)cz>
http://home.zf.jcu.cz/~zakkr/
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2003-09-03 15:53:35 | Re: [BUGS] to_timestamp not stable if date string shorter than |
Previous Message | Tom Lane | 2003-09-03 15:10:33 | Re: [BUGS] to_timestamp not stable if date string shorter than |
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2003-09-03 15:53:35 | Re: [BUGS] to_timestamp not stable if date string shorter than |
Previous Message | Tom Lane | 2003-09-03 15:10:33 | Re: [BUGS] to_timestamp not stable if date string shorter than |