Re: Inputting relative datetimes

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: Inputting relative datetimes
Дата
Msg-id 4E56CAC8.3090400@agliodbs.com
обсуждение исходный текст
Ответ на Re: Inputting relative datetimes  (Dean Rasheed <dean.a.rasheed@gmail.com>)
Список pgsql-hackers
> Yes, but what I am trying to achieve is a way of entering such
> relative timestamps using a single input value, so that absolute and
> relative timestamps can both be bound to a SQL query using just one
> variable.

I think adding a function would be the way to go then.  Maybe extending
to_timestamp with a "relative" keyword.

-- 
Josh Berkus
PostgreSQL Experts Inc.
http://pgexperts.com


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

Предыдущее
От: Josh Berkus
Дата:
Сообщение: Re: PATCH: regular logging of checkpoint progress
Следующее
От: Jim Nasby
Дата:
Сообщение: Re: cheaper snapshots redux