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

From Tom Lane
Subject Re: interval->day AdjustIntervalForTypmod?
Date
Msg-id 7380.1118295335@sss.pgh.pa.us
Whole thread Raw
In response to interval->day AdjustIntervalForTypmod?  (Michael Glaesemann <grzm@myrealbox.com>)
Responses Re: interval->day AdjustIntervalForTypmod?
List pgsql-hackers
Michael Glaesemann <grzm@myrealbox.com> writes:
> I've been making a bit of progress on adding a day field to the  
> Interval struct (thanks to the help of this list and the find folks  
> on IRC). Selects and basic math seem to be working, and the code is  
> passing more regression tests than it was before.

> I'm running into a bit of a problem with storing the data in  
> relations. For example:

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


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: unsafe use of hash_search(... HASH_ENTER ...)
Next
From: Peter Eisentraut
Date:
Subject: Re: pg_config --configure ...