Re: Bug in AdjustIntervalForTypmod function

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>
Subject: Re: Bug in AdjustIntervalForTypmod function
Date: 2003-05-13 17:44:52
Message-ID: 19433.1052847892@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

"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.

-1 is the correct default typmod if you don't know the conventions
for a particular type's typmod values.

regards, tom lane

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Donald Fraser 2003-05-13 18:34:27 Re: Bug in AdjustIntervalForTypmod function
Previous Message Donald Fraser 2003-05-13 16:55:29 Bug in AdjustIntervalForTypmod function