From 3abd34f027ffa34313e8558e8dbb6d6d6dfe93ae Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Mon, 8 Jan 2018 16:13:54 +0000 Subject: [PATCH] postgresql: point to new command for data upgrade. --- Formula/postgresql.rb | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/Formula/postgresql.rb b/Formula/postgresql.rb index ff5f4a6956d..7e55af9e242 100644 --- a/Formula/postgresql.rb +++ b/Formula/postgresql.rb @@ -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