Re: Help with simple function

Поиск
Список
Период
Сортировка
От Chris Hoover
Тема Re: Help with simple function
Дата
Msg-id 1d219a6f0512280733k74c7ecf6kdff6408ba6c6bfa5@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Help with simple function  ("Jason Minion" <jason.minion@sigler.com>)
Список pgsql-admin
On 12/28/05, Jason Minion <jason.minion@sigler.com> wrote:
And last but not least, you can do simple day addition and subtraction
with dates using integers. For example:

> select '2005-12-26'::date + 8;

returns '2006-01-03'. However, I'm not sure if that will work with
7.3.x. Good luck with your 8.x install!

Jason

That works like a charm.  Thanks a bunch for the help.

Chris


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

Предыдущее
От: Bradley Kieser
Дата:
Сообщение: Re: migrating oracle table to PostgresQL
Следующее
От: Tom Lane
Дата:
Сообщение: Re: restored database locale problem