Re: how to add 'time with time zone' data types and 'interval' data types

Поиск
Список
Период
Сортировка
От Kevin Grittner
Тема Re: how to add 'time with time zone' data types and 'interval' data types
Дата
Msg-id 1389111401.40691.YahooMailNeo@web122301.mail.ne1.yahoo.com
обсуждение исходный текст
Ответ на Re: how to add 'time with time zone' data types and 'interval' data types  (avpro avpro <avprowebeden@gmail.com>)
Ответы Re: how to add 'time with time zone' data types and 'interval' data types
Re: how to add 'time with time zone' data types and 'interval' data types
Список pgsql-novice
avpro avpro <avprowebeden@gmail.com> wrote:

> select '12:00'::time - '9:00'::time; didn't work.

I get this on 9.3:

test=# select '12:00'::time - '9:00'::time;
 ?column?
----------
 03:00:00

(1 row)
What version are you using?  What happens when you try it?

--
Kevin Grittner
EDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


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

Предыдущее
От: Binand Sethumadhavan
Дата:
Сообщение: Re: how to add 'time with time zone' data types and 'interval' data types
Следующее
От: Sameer Kumar
Дата:
Сообщение: Re: Master-slave failover question