Re: BUG #18018: Homebrew link is broken

From: Gurjeet Singh <gurjeet(at)singh(dot)im>
To: johnlinp(at)gmail(dot)com, pgsql-bugs(at)lists(dot)postgresql(dot)org
Cc: pgsql-www(at)postgresql(dot)org
Subject: Re: BUG #18018: Homebrew link is broken
Date: 2023-07-11 18:14:31
Message-ID: CABwTF4UfTHRMnTkAw_JBh3eunPSnhxoAQVOzms+Uf81OtuUfWA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-www

On Tue, Jul 11, 2023 at 3:29 AM PG Bug reporting form
<noreply(at)postgresql(dot)org> wrote:
>
> The following bug has been logged on the website:
>
> Bug reference: 18018
> Logged by: John Lin
> Email address: johnlinp(at)gmail(dot)com
> PostgreSQL version: Unsupported/Unknown
> Operating system: macOS
> Description:
>
> When I went to https://www.postgresql.org/download/macosx/, there is a link
> in the sentence:
>
> > A list of PostgreSQL packages can be found using the Braumeister search
> tool.
>
> And the link is https://formulae.brew.sh/formula/postgresql.
>
> However, the link is broken. Please consider changing the link. Thanks.

Homebrew does not (no longer?) provides a formula named postgresql;
instead, it provides a formula for each of the Postgres major
versions. See the output of brew commands below [1].

The difficulty is that, which is also pointed out in the first
command's output, is that each major version of postgres introduces
backwards incompatible changes, and hence a simple brew update or
upgrade will break the user's database setup.

Unfortunately the Homebrew online formula search tool does provide a
URL for prefix-searches, else this page could've linked to the search
results, and directed the reader to pick one. Something like
https://formulae.brew.sh/formula/postgresql@

Perhaps this webpage can provide the brew command to list available
formulae, and advise to install one from the result.

[1]:
$ brew search --formulae postgresql
==> Formulae
postgresql(at)10 postgresql(at)12 postgresql(at)14
postgresql(at)9(dot)4 qt-postgresql
postgresql(at)11 postgresql(at)13 postgresql(at)15
postgresql(at)9(dot)5 postgrest

If you meant "postgresql" specifically:
postgresql breaks existing databases on upgrade without human intervention.

See a more specific version to install with:
brew formulae | grep postgresql@

$ brew formulae | grep postgresql@
postgresql(at)10
postgresql(at)11
postgresql(at)12
postgresql(at)13
postgresql(at)14
postgresql(at)15
postgresql(at)9(dot)4
postgresql(at)9(dot)5

+CC pgsql-www(at)postgresql(dot)org, for their visibility.

Best regards,
Gurjeet
http://Gurje.et

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Michael Paquier 2023-07-11 23:39:10 Re: BUG #18018: Homebrew link is broken
Previous Message Andrew Dunstan 2023-07-11 14:15:52 Re: BUG #17994: Invalidating relcache corrupts tupDesc inside ExecEvalFieldStoreDeForm()

Browse pgsql-www by date

  From Date Subject
Next Message Michael Paquier 2023-07-11 23:39:10 Re: BUG #18018: Homebrew link is broken
Previous Message PG Bug reporting form 2023-07-10 22:32:01 BUG #18018: Homebrew link is broken