Closed pietermartin closed 3 years ago
Ok time to remove all timezone
datatypes. Sqlg never needed nor used the database timezone features.
This will however require upgrade scripts to be run to alter the column's type.
Done, added a check on startup to check for columns with timestamptz
. If there are any an exception is thrown
For some reason day light saving turns a
+2
UTC offset into a+1
UTC offset in postgresql. Yet casting a literal to'xx:xx:xx'::TIME WITH TIME ZONE
has the+2
and thus there is a mismatch on querying from java.Besides, from postgresql's docs "We do not recommend using the type time with time zone (though it is supported by PostgreSQL for legacy applications and for compliance with the SQL standard)"
The other databases also needs investigation.