Re: Timestamp/Timezone - does this make sense? - Mailing list pgsql-general

From Tom Lane
Subject Re: Timestamp/Timezone - does this make sense?
Date
Msg-id 19579.1171441266@sss.pgh.pa.us
Whole thread Raw
In response to Re: Timestamp/Timezone - does this make sense?  (Ron Johnson <ron.l.johnson@cox.net>)
List pgsql-general
Ron Johnson <ron.l.johnson@cox.net> writes:
> I think he's asking why:
>     select timestamp with time zone '2007-01-01'
>         at time zone 'America/Los_Angeles';
> returns a different value than
>     select timestamp '2007-01-01'
>         at time zone 'America/Los_Angeles';

Those are transformations in opposite directions; see the manual.

            regards, tom lane

pgsql-general by date:

Previous
From: "Peter Eisentraut"
Date:
Subject: [ANNOUNCE] Advisory on possibly insecure security definer functions
Next
From: Ron Johnson
Date:
Subject: Re: converting a specified year and week into a date