Based on the first two answers, the question was unclear how it was originally published, so I completely rewrite it:
The next question concerns only how and what data is stored, and does not have any form or form for transforming data after extraction. Therefore, converting in SELECT to the required time zone is not an appropriate answer.
When a value is inserted into a time stamp with a time zone field, it is retrieved (and therefore presumably stored) with a time stamp converted to the local time zone of the database at the time of insertion.
Thus, the timestamp inserted as 2012-01-01 00:00:00+00:00 is retrieved as 2011-12-31 19:00:00-05 , where the local time zone of the database during insertion was -05 . Timestamps that were inserted during daylight saving time when the database was at -04 are returned using the -04 time zone.
I want all timestamps to use an arbitrary time zone when saving (and, therefore, all of them were received without additional work with this time zone). That is, if the server revolves around the planet, all times will be at +00:00 (arbitrary time zone) instead of -12:00 to +12:00 .
Is it possible to insert a timestamp with a timezone column so that all timestamps are kept relative to an arbitrary timezone? If so, how?
Followed by.
When you insert a value in the timestamp with time zone field, it is converted to the current time zone of the server.
Example. If I insert a value specifying a time zone of -1 , receiving it returns the time at -5 (the time zone of the server at the time of its installation).
Is it possible to indicate that it should be stored in an arbitrary time zone?
Note. This question is not about how to convert the returned time to another time zone, it depends on how the time is stored.