From: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
---|---|
To: | pgsql-hackers(at)postgresql(dot)org, Greg Sabino Mullane <greg(at)turnstep(dot)com> |
Subject: | Re: [PATCHES] Intervals within information_schema |
Date: | 2006-08-25 06:34:53 |
Message-ID: | 200608250834.53946.peter_e@gmx.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-patches |
Greg Sabino Mullane wrote:
> I was looking over the "FIXME" marks within the
> information_schema.sql, and the last ones left (after my previous
> patch) are for interval_type and interval_precision. It looks to me
> as if the standard is differentiating between datetime_precision and
> interval_precision (see attached patch), so I pulled those apart (for
> one view). Does anyone know what is supposed to go into the
> interval_type field?
INTERVAL_TYPE IN
( 'YEAR', 'MONTH', 'DAY', 'HOUR', 'MINUTE', 'SECOND',
'YEAR TO MONTH', 'DAY TO HOUR', 'DAY TO MINUTE',
'DAY TO SECOND', 'HOUR TO MINUTE',
'HOUR TO SECOND', 'MINUTE TO SECOND' )
Also, depending on which one of these is specified, the precision field
varies in meaning. I haven't done a complete analysis, but it might
not be as simple as your patch suggests.
--
Peter Eisentraut
http://developer.postgresql.org/~petere/
From | Date | Subject | |
---|---|---|---|
Next Message | Albe Laurenz | 2006-08-25 07:04:18 | 8.2 new features |
Previous Message | Guillaume Smet | 2006-08-25 06:22:37 | Re: autovacuum cannot start when connection is full |
From | Date | Subject | |
---|---|---|---|
Next Message | Böszörményi Zoltán | 2006-08-25 07:31:42 | Performance testing of COPY (SELECT) TO |
Previous Message | Tom Lane | 2006-08-25 04:10:36 | Re: CREATE INDEX ... ONLINE |