Fixing an issue with timezone migration. (#4153)

This commit is contained in:
Dessalines 2023-11-16 08:19:31 -05:00 committed by GitHub
parent e2bf2ce530
commit a53892d2bb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,3 +1,5 @@
DROP FUNCTION IF EXISTS hot_rank CASCADE;
SET timezone = 'UTC';
-- Allow ALTER TABLE ... SET DATA TYPE changing between timestamp and timestamptz to avoid a table rewrite when the session time zone is UTC (Noah Misch)