Skip to content
Discussion options

You must be logged in to vote

@sttrebo quick follow-up, because your question kept nagging at me. My first answer boiled down to "it works on 18, but the compose file stays on 16 so nobody's stack breaks on an update". Thinking about it again, that's a reason to make the switch safe, not a reason to skip it.

So 1.46 runs Postgres 18, and since you're starting fresh, the new compose file gives you 18 right away. For everyone already on 16: with the new compose file, the database moves over by itself on the first start. A small one-off container copies it into a fresh volume, checks that every table has the same number of rows on both sides, and only then lets the app start. If anything goes wrong, the app just doesn't …

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@sttrebo
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by MBombeck
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants