Search Postgresql Archives

Re: now() + '4d' AT TIME ZONE issue

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

 



Tom Lane wrote:
Madison Kelly <linux@xxxxxxxxxxx> writes:
SELECT
	now() AT TIME ZONE 'America/Toronto',
	now() + '4d' AS future AT TIME ZONE 'America/Toronto';

You've got "AS future" in the wrong place.

			regards, tom lane


Thank you both, Chris and Tom. That was indeed my oops.

Madi

--
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