Skip to content

PSA: Time zone breaking change in Debian Trixie #159

@BTOdell

Description

@BTOdell

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:

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions