Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
brew-postgresql-upgrade-database: add new command. #21244
referenced this pull request
Dec 1, 2017
If this works, great, I would support it (coming from this gist):
Untested but I would approve!
Jan 8, 2018
1 check failed
Hmm; the documentation says
Thanks so much for putting the work into this. I remember thinking "why doesn't this exist" for years and that was the primary motivation behind that old brain dump of a Gist.
I did find that if postmaster.pid is locked, which stops or prevents the upgrade, re-running the commands tends to die at the topmost version-checking conditional even if the old data directory hasn't been upgraded yet.
I solved the issue by remove postmaster.pid and opening the
I just re-ran the command at the top which did the trick.
I think not being able to re-run the upgrade command stems from the fact that call to
Maybe it would help to check for
@olivierlacan Thanks for the kind words!
Seems like a good idea. Could you try and open a pull request (as you seem to understand this better than I do)? This document should help and we're happy to walk you through anything else.