Live data from Hacker News

PostgreSQL 17

postgresql.org

151–153 of 153 posts

Re: PostgreSQL 17

#151
post #28

Earlier quoted context omitted.

I'm curious what you feel is specifically missing.

Being able to simply switch from "postgres:15" to "postgres:16" in docker for example (I'm aware about pg_autoupdate but it's external and I'm a bit iffy about using it) What's more, even outside of docker running `pg_upgrade` requires both version to be present (or having older binary handy). Honestly, having the previous version logic to load and process the database seems like it would be little hassle but would i…

> I'm a bit iffy about using it

It's not perfect, as it doesn't (yet) recreate indexes or automatically run `vacuum analyze` afterwards. We're working on those though. :)

You do make backups of your database though yeah?

Re: PostgreSQL 17

#152

Earlier quoted context omitted.

Being able to simply switch from "postgres:15" to "postgres:16" in docker for example (I'm aware about pg_autoupdate but it's external and I'm a bit iffy about using it) What's more, even outside of docker running `pg_upgrade` requires both version to be present (or having older binary handy). Honestly, having the previous version logic to load and process the database seems like it would be little hassle but would i…

> I'm a bit iffy about using it It's not perfect, as it doesn't (yet) recreate indexes or automatically run `vacuum analyze` afterwards. We're working on those though. :) You do make backups of your database though yeah?

Yes I do, but for the simplicy I just stick with the same PG version and doesn't touch it once deployed on local RPi :D

Re: PostgreSQL 17

#153

Earlier quoted context omitted.

> I'm a bit iffy about using it It's not perfect, as it doesn't (yet) recreate indexes or automatically run `vacuum analyze` afterwards. We're working on those though. :) You do make backups of your database though yeah?

Yes I do, but for the simplicy I just stick with the same PG version and doesn't touch it once deployed on local RPi :D

Heh Heh Heh. Yeah, that's how most people seem to do it, even on non-docker systems. ;)

Works well for a few years as PG is super stable. But we tend to see people when they've run their systems longer than that and it's gotten to the point of their PG install is end of life (or similar circumstance), so they're looking at their upgrade options.

The pgautoupgrade approach is one potential way to fix that, and (in theory) should mean that once they're using it they don't have to worry about major version upgrades ever again (in a positive way).

Post reply on HN