-
-
Notifications
You must be signed in to change notification settings - Fork 33
Description
This isn't an issue with the pgautoupgrade project, but I wanted to bring attention to the breaking change when pairing Postgres 18 with Debian Trixie. It would have been a major bug in my company's production deployment if it wasn't caught in staging.
Debian Trixie removed a bunch of legacy time zone identifiers; notable the US/* time zones. Since Postgres simply reads the tzdata to populate its time zone info, this is effectively a breaking change when running Postgres on Debian.
Just wanted to shed some light on the issue so others don't blow up their production environments.
References:
- https://www.debian.org/releases/trixie/release-notes/issues.html#timezones-split-off-into-tzdata-legacy-package
- https://news.ycombinator.com/item?id=45218111
EDIT:
The official Postgres docker image still supports Debian Bookworm. Maybe pgautoupgrade should also support bookworm? I don't know if the underlying OS makes a difference when migrating.