postgresql: point to new command for data upgrade.

master
Mike McQuaid 2018-01-08 16:13:54 +00:00
parent 0f436cc6d8
commit 3abd34f027
1 changed files with 2 additions and 7 deletions

View File

@ -99,13 +99,8 @@ class Postgresql < Formula
end
def caveats; <<~EOS
To migrate existing data from a previous major version of PostgreSQL, see:
https://www.postgresql.org/docs/10/static/upgrading.html
You will need your previous PostgreSQL installation from brew to perform
`pg_upgrade` or `pg_dumpall` depending on your upgrade method.
Do not run `brew cleanup postgresql` until you have performed the migration.
To migrate existing data from a previous major version of PostgreSQL run:
brew postgresql-upgrade-database
EOS
end