> 
> What do I miss?
> 
> --
> Best regards,
> Alexander Pyhalov,
> Postgres Professional
> 

See for example around DST changes

postgres=# begin;
BEGIN
postgres =# show timezone;
     TimeZone     
------------------
 Europe/Amsterdam
(1 row)

postgres=# select '2021-03-27 15:00 +0100'::timestamptz + interval '1d';
        ?column?        
------------------------
 2021-03-28 15:00:00+02
(1 row)

postgres =# set timezone to UTC;
SET
postgres =# select '2021-03-27 15:00 +0100'::timestamptz + interval '1d';
        ?column?        
------------------------
 2021-03-28 14:00:00+00
(1 row)

postgres =# select '2021-03-28 15:00:00+02' = '2021-03-28 14:00:00+00';
 ?column? 
----------
 f
(1 row)



Reply via email to