DO $$ DECLARE db TEXT; BEGIN SELECT current_database() INTO db; EXECUTE(FORMAT('ALTER DATABASE %s SET timezone = ''Asia/Seoul''', db)); END $$;