I can always tell when a new postgres comes out because one of my docker powered apps just breaks (just a selfhosted one, nothing actually important). The official docker for postgres attempts to do no auto update between versions and you're basically left to go figure it out yourself when `latest` breaks itself. This is by design, apparently.
I know there's an argument for version pinning, but I don't want to have to handhold random docker containers. It should be automated IMO. It's become a deterrent for me wanting to deploy anything that depends on postgres.
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.
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.
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.
Needs an option that pre-compresses to zero Bytes on rainy Tuesday's in timezones with a something-and-a-half hours offset from UTC during DST and a race condition in a chron job.
Being on 'latest' instead of a fixed version (at least the major number) is crazy but I agree that the official image not being able to upgrade the data is very inconvenient.
Allowing auto-updating through an env var or something would be appreciated.
I know there's an argument for version pinning, but I don't want to have to handhold random docker containers. It should be automated IMO. It's become a deterrent for me wanting to deploy anything that depends on postgres.
Replies (5)
Replies (3)
Replies (1)
sqlite3 has been backwards compatible since its release in 2004.
Replies (1)
Replies (1)
Replies (1)
Postgres 18 will still get bug fixes and security updates for 4 more years.
At that point also go with "ext4" 'latest'. Bonus points for it silently going to ext5 in future.
[1]: https://hub.docker.com/r/pgautoupgrade/pgautoupgrade
Replies (1)
Allowing auto-updating through an env var or something would be appreciated.