An unofficial, read-only Hacker News reader.

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

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

View full thread · View on Hacker News

Comment thread (7)

  1. There is no universe where a database auto- updating across major versions is a sane default. If you want a "postgres-yolo" container, you could build it on top of the upstream image and use cron/github action/etc to automate rebuilds.
    Replies (3)
    1. Supporting people who think "postgres-yolo" should be a thing would be a masochistic self-own. Perpetual backwards compatibility is not a reasonable addition to all the other constraints that database development must satisfy.
      Replies (1)
      1. > Perpetual backwards compatibility is not a reasonable addition to all the other constraints that database development must satisfy.

        sqlite3 has been backwards compatible since its release in 2004.

        Replies (1)
        1. That's comparing apples and oranges. Only a vanishingly small number of SQLite instances are administered by DBAs, therefore the file format has to remain stable. Also, Sqlite3 has no ambition to introduce a massive number of new features, to scale to the skys (though it is surprisingly good in that regard), and prioritizes stability and simplicity.
    2. Let’s call it fake SMR as a service.
    3. PostgreSQL (over the wire) is backwards compatible for at least a few versions, so it should be "pretty safe" for a lot (most?) situations.
      Replies (1)
      1. The file format is not safe. Thus the major version.