Re: time - Mailing list pgsql-sql

From Michael Fuhr
Subject Re: time
Date
Msg-id 20051110192239.GA60396@winnie.fuhr.org
Whole thread Raw
In response to Re: time  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-sql
On Thu, Nov 10, 2005 at 02:13:43PM -0500, Tom Lane wrote:
> Michael Fuhr <mike@fuhr.org> writes:
> > Am I missing something?  Is there a reason not to simply cast the
> > timestamp value to time?
> 
> I think the OP was trying to use the functional cast syntax
>     time(now())
> which worked long ago, but has not since we added the
> SQL-spec time precision syntax.

I was referring to the expression that Rod Taylor posted, wondering
if there was some subtlety I was missing or if Rod simply didn't
think of the simpler solution (Rod responded indicating the latter).

-- 
Michael Fuhr


pgsql-sql by date:

Previous
From: Tom Lane
Date:
Subject: Re: time
Next
From: "Tadej Kanizar"
Date:
Subject: Re: time