Search Postgresql Archives

Re: interval is ignored

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



rodeored <info1@xxxxxxxxxx> writes:
> On Jun 11, 10:14 am, rodeored <in...@xxxxxxxxxx> wrote:
>> SELECT INTERVAL '1' MONTH = 00:00:00

> Never mind,
> its
> SELECT NOW(),NOW()- INTERVAL '1 MONTH' as onemonthago

Just for completeness --- the INTERVAL '1' MONTH syntax is supported as
of 8.4.

			regards, tom lane

-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux