Merge pull request #15799 from MikeMcQuaid/deprecate_postgresql_upgrade_database
Deprecate `postgresql-upgrade-database`
This commit is contained in:
commit
8a74f83223
@ -15,6 +15,8 @@ module Homebrew
|
||||
EOS
|
||||
|
||||
named_args :none
|
||||
|
||||
hide_from_man_page!
|
||||
end
|
||||
end
|
||||
|
||||
@ -22,6 +24,9 @@ module Homebrew
|
||||
def postgresql_upgrade_database
|
||||
postgresql_upgrade_database_args.parse
|
||||
|
||||
odeprecated "brew postgresql_upgrade_database",
|
||||
"using new, versioned e.g. `var/postgres@14` datadir and `pg_upgrade`"
|
||||
|
||||
name = "postgresql"
|
||||
pg = Formula[name]
|
||||
bin = pg.bin
|
||||
|
@ -529,10 +529,6 @@ information is displayed in interactive shells, and suppressed otherwise.
|
||||
Pin the specified *`formula`*, preventing them from being upgraded when
|
||||
issuing the `brew upgrade` *`formula`* command. See also `unpin`.
|
||||
|
||||
### `postgresql-upgrade-database`
|
||||
|
||||
Upgrades the database for the `postgresql` formula.
|
||||
|
||||
### `postinstall`, `post_install` *`installed_formula`* [...]
|
||||
|
||||
Rerun the post-install steps for *`formula`*.
|
||||
|
@ -743,9 +743,6 @@ Also include outdated casks including those with \fBauto_updates true\fR\.
|
||||
.SS "\fBpin\fR \fIinstalled_formula\fR [\.\.\.]"
|
||||
Pin the specified \fIformula\fR, preventing them from being upgraded when issuing the \fBbrew upgrade\fR \fIformula\fR command\. See also \fBunpin\fR\.
|
||||
.
|
||||
.SS "\fBpostgresql\-upgrade\-database\fR"
|
||||
Upgrades the database for the \fBpostgresql\fR formula\.
|
||||
.
|
||||
.SS "\fBpostinstall\fR, \fBpost_install\fR \fIinstalled_formula\fR [\.\.\.]"
|
||||
Rerun the post\-install steps for \fIformula\fR\.
|
||||
.
|
||||
|
Loading…
x
Reference in New Issue
Block a user