missing_formula: message for postgres rename.

PostgreSQL is being renamed to always be a versioned formula so handle
when people type `brew install postgresql`.
This commit is contained in:
Mike McQuaid 2022-08-10 15:15:21 +01:00
parent 9382160be6
commit 64d368aeb9
No known key found for this signature in database
GPG Key ID: 3338A31AFDB1D829

View File

@ -89,6 +89,12 @@ module Homebrew
uconv is part of the icu4c formula:
brew install icu4c
EOS
when "postgresql", "postgres" then <<~EOS
postgresql breaks existing databases on upgrade without human intervention.
See a more specific version to install with:
brew formulae | grep postgresql@
EOS
end
end
alias generic_disallowed_reason disallowed_reason