An unofficial, read-only Hacker News reader.

What Changes When You Upgrade from PostgreSQL 18 to 19 (opens external site)

108 points by rgoomar 2 days ago | rishigoomar.com | 30 comments on HN

View full thread · View on Hacker News

Comment thread (1)

  1. > 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 for any consideration of future event.

    If you’re concerned about the limited historical and auditing value, it’s not exactly difficult to just tack that information on in a second column, or create a custom type which you can even call datetimeoffset but hanging the entire thing on that edge case is nonsense.

    Hell, if you’re concerned about auditing events or fraud control you want a ton more data than just a timezone offset advertised by the client, and storing an entire timestamp just to keep that datum around is an unnecessary waste.