Jaime Casanova <jcasanov@systemguards.com.ec> writes:
> One of the tables in a client production system has several timestamp
> with time zone fields, in one of those fields they store '1900-01-01
> 00:00:00'::timestamp with time zone where there is no valid value (a
> legacy from another dbms)...
This will be interpreted as 1900-01-01 00:00:00 in whatever timezone
is selected when you insert the value...
> timezone 'America/Guayaquil'
... and in that zone, times before 1931 are taken to be local mean
solar time, which is 5 hours and change off GMT. See the Olsen data
files:
# Zone NAME GMTOFF RULES FORMAT [UNTIL]
Zone America/Guayaquil -5:19:20 - LMT 1890
-5:14:00 - QMT 1931 # Quito Mean Time
-5:00 - ECT # Ecuador Time
regards, tom lane