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

From: Kevin Grittner <kgrittn(at)ymail(dot)com>
To: avpro avpro <avprowebeden(at)gmail(dot)com>, "pgsql-novice(at)postgresql(dot)org" <pgsql-novice(at)postgresql(dot)org>
Subject: Re: how to add 'time with time zone' data types and 'interval' data types
Date: 2014-01-07 16:16:41
Message-ID: 1389111401.40691.YahooMailNeo@web122301.mail.ne1.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

avpro avpro <avprowebeden(at)gmail(dot)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

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Tom Lane 2014-01-07 16:34:00 Re: how to add 'time with time zone' data types and 'interval' data types
Previous Message Sameer Kumar 2014-01-07 16:16:12 Re: Master-slave failover question