4
submitted 9 months ago* (last edited 9 months ago) by dragnucs@social.touha.me to c/postgresql@programming.dev

Is it possible to upgrade PostreSQL from 14 to 16 directly when using containers?
@postgresql

top 1 comments
sorted by: hot top controversial new old
[-] suzune@ani.social 4 points 9 months ago

Yes. Log into the old container, dump the entire database. Rename the data directory, if it's not versioned. Upgrade start the new version. Restore from the previous dump.

this post was submitted on 08 Feb 2024
4 points (83.3% liked)

PostgreSQL

652 readers
15 users here now

The world's most advanced open source relational database

Project
Events
Podcasts
Related Fediverse communities

founded 1 year ago
MODERATORS