I am trying to store a value into a Timestamptz datatype.
While retrieving the value, I see that it gets converted to the TZ of DB. Same is not true with timetz datatype.
Is there a way to retain the exact same value as is in input while using timestamptz ?
I understand that in essence the value is same, but I want to retain the value in same TZ as was in input.
=> select ('2014-05-10 07:00:37.327348-07:00' :: timestamptz(6)) ;
Output:: 2014-05-10 09:00:37.327348-05