Re: interval->day AdjustIntervalForTypmod?

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

Michael Glaesemann <grzm(at)myrealbox(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2005-06-09 05:47:14 Re: pg_config --configure ...
Previous Message Tom Lane 2005-06-09 05:20:00 Re: unsafe use of hash_search(... HASH_ENTER ...)