Re: now() + '4d' AT TIME ZONE issue - Mailing list pgsql-general

From Madison Kelly
Subject Re: now() + '4d' AT TIME ZONE issue
Date
Msg-id 4A54EEE6.7070201@alteeve.com
Whole thread Raw
In response to Re: now() + '4d' AT TIME ZONE issue  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
Tom Lane wrote:
> Madison Kelly <linux@alteeve.com> 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

pgsql-general by date:

Previous
From: Andreas Wenk
Date:
Subject: Re: Password?
Next
From: Dan Armbrust
Date:
Subject: Re: Checkpoint Tuning Question