← Top stories What Changes When You Upgrade from PostgreSQL 18 to 19 ↗ (opens external site) 103 points by rgoomar 2 days ago | rishigoomar.com | 27 comments on HN ↗ View full thread · View on Hacker News Comment thread (2) bruce511 | 3 hours ago | parent | reply I agree that the MSSQL timezoneoffset approach is the best.However the Postgres (and others) work-around is simply to add a LocalTimeZone field where necessary.Yeah, it's not as convenient, but it's a simple, effective, work-around.For me, this isn't the killer-app distinction that suggests choosing MSSQL over Postgres. Replies (1) masklinn | just now | parent | reply > I agree that the MSSQL timezoneoffset approach is the best.It is not. A static offset is largely equivalent to a utc timestamp, and thus useless in any situation where the UTC version is outright wrong, that is any future event.
However the Postgres (and others) work-around is simply to add a LocalTimeZone field where necessary.
Yeah, it's not as convenient, but it's a simple, effective, work-around.
For me, this isn't the killer-app distinction that suggests choosing MSSQL over Postgres.
Replies (1)
It is not. A static offset is largely equivalent to a utc timestamp, and thus useless in any situation where the UTC version is outright wrong, that is any future event.