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

PostgreSQL

677 readers
1 users here now

The world's most advanced open source relational database

Project
Events
Podcasts
Related Fediverse communities

founded 2 years ago
MODERATORS
 

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
[–] [email protected] 4 points 10 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.