Re: interval->day AdjustIntervalForTypmod? - Mailing list pgsql-hackers

From Michael Glaesemann
Subject Re: interval->day AdjustIntervalForTypmod?
Date
Msg-id 5ADC3194-B308-4602-B2FC-E3588917543F@myrealbox.com
Whole thread Raw
In response to Re: interval->day AdjustIntervalForTypmod?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Jun 9, 2005, at 2:35 PM, Tom Lane wrote:

> Hm, have you adjusted the size (typlen) shown for "interval" in  
> pg_type?
> (This is of course an initdb-forcing change.)

No, I hadn't. I've done that now (editing pg_type.h and bumping the  
typlen from 12 to 16) and it appears to have fixed it! Thanks.

Now on to interval_avg and friends. I am still curious about  
AdjustIntervalForTypmod, if someone could fill me in, I'm all ears.

Thanks, Tom, for the pointer!

Michael Glaesemann
grzm myrealbox com


pgsql-hackers by date:

Previous
From: Stephen Frost
Date:
Subject: Re: Learning curves and such (was Re: pgFoundry)
Next
From: Richard Huxton
Date:
Subject: Strange transaction-id behaviour? (was Re: [GENERAL] Two updates problem)