| From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
|---|---|
| To: | Karel Zak <zakkr(at)zf(dot)jcu(dot)cz> |
| Cc: | pgsql-patches <pgsql-patches(at)postgresql(dot)org> |
| Subject: | Re: 7.1: to_char() bug fix |
| Date: | 2000-12-15 19:15:35 |
| Message-ID: | 200012151915.OAA24151@candle.pha.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-patches |
Thanks. Applied.
>
>
> Hi,
>
> here is a patch fixing today's bug report:
>
> > Date: Thu, 14 Dec 2000 12:44:47 +0100 (CET)
> > From: Kovacs Zoltan Sandor <tip(at)pc10(dot)radnoti-szeged(dot)sulinet(dot)hu>
> > To: pgsql-bugs(at)postgresql(dot)org
> > Subject: [BUGS] to_char() causes backend to close connection
> >
> > Hi, this query gives different strange results:
> >
> > select to_char(now()::abstime,'YYMMDDHH24MI');
> >
> > I get e.g. a "backend closed the channel unexpectedly..." error with
> > successful or failed resetting attempt (indeterministic)
>
> Again thanks Kovacs, you found really designing bug, that appear
> if anyone write bad format template to "number" version of to_char()
> (as you with 'DD').
>
> Karel
>
> PS. It's not recursive diff, must be apply into src/utils/atd, Thanks.
Content-Description:
[ application/x-gzip is not supported, skipping... ]
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2000-12-15 19:46:34 | Planner speedup diffs |
| Previous Message | Bruce Momjian | 2000-12-15 19:12:15 | Re: Re: more odbc patches |