Re: [PATCHES] Intervals within information_schema

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: [PATCHES] Intervals within information_schema
Дата
Msg-id 200608250834.53946.peter_e@gmx.net
обсуждение исходный текст
Ответы Re: [PATCHES] Intervals within information_schema
Список pgsql-hackers
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',
'HOURTO 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/


В списке pgsql-hackers по дате отправления:

Предыдущее
От: "Guillaume Smet"
Дата:
Сообщение: Re: autovacuum cannot start when connection is full
Следующее
От: "Albe Laurenz"
Дата:
Сообщение: 8.2 new features