| From: | "Donald Fraser" <demolish(at)cwgsy(dot)net> |
|---|---|
| To: | "[BUGS]" <pgsql-bugs(at)postgresql(dot)org> |
| Subject: | Re: Bug in AdjustIntervalForTypmod function |
| Date: | 2003-05-13 18:34:27 |
| Message-ID: | 008301c3197e$4c1c4280$1664a8c0@DEMOLITION |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-bugs |
----- Original Message -----
From: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Donald Fraser" <demolish(at)cwgsy(dot)net>
Cc: "[BUGS]" <pgsql-bugs(at)postgresql(dot)org>
Sent: Tuesday, May 13, 2003 6:44 PM
Subject: Re: [BUGS] Bug in AdjustIntervalForTypmod function
> "Donald Fraser" <demolish(at)cwgsy(dot)net> writes:
> > ERROR: AdjustIntervalForTypmod(): internal coding error
>
> You passed it a typmod that's illegal for INTERVAL, viz 0.
Having executed thus:
Bugs=>SELECT '7 Days'::interval(7);
ERROR: INTERVAL(7) precision must be between 0 and 6
I assumed that the typmod for the interval_in function was in the above range.
Sorry about that.
Thanks
Donald.
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Todd Nemanich | 2003-05-13 20:03:38 | shared memory corruption |
| Previous Message | Tom Lane | 2003-05-13 17:44:52 | Re: Bug in AdjustIntervalForTypmod function |