Re: interval->day AdjustIntervalForTypmod?

From: Michael Glaesemann <grzm(at)myrealbox(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: interval->day AdjustIntervalForTypmod?
Date: 2005-06-09 07:09:05
Message-ID: 5ADC3194-B308-4602-B2FC-E3588917543F@myrealbox.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Richard Huxton 2005-06-09 07:52:40 Strange transaction-id behaviour? (was Re: Two updates problem)
Previous Message Stephen Frost 2005-06-09 05:54:55 Re: Learning curves and such (was Re: pgFoundry)