Re: time

Поиск
Список
Период
Сортировка
От Michael Fuhr
Тема Re: time
Дата
Msg-id 20051110192239.GA60396@winnie.fuhr.org
обсуждение исходный текст
Ответ на Re: time  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: time
Следующее
От: "Tadej Kanizar"
Дата:
Сообщение: Re: time