Re: BUG #18018: Homebrew link is broken

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: Gurjeet Singh <gurjeet(at)singh(dot)im>
Cc: johnlinp(at)gmail(dot)com, pgsql-bugs(at)lists(dot)postgresql(dot)org, pgsql-www(at)postgresql(dot)org
Subject: Re: BUG #18018: Homebrew link is broken
Date: 2023-07-11 23:39:10
Message-ID: ZK3oHlwM1uKXKnt2@paquier.xyz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-www

On Tue, Jul 11, 2023 at 11:14:31AM -0700, Gurjeet Singh wrote:
> On Tue, Jul 11, 2023 at 3:29 AM PG Bug reporting form
> <noreply(at)postgresql(dot)org> wrote:
>> And the link is https://formulae.brew.sh/formula/postgresql.
>>
>> However, the link is broken. Please consider changing the link. Thanks.

This link is part of the website, not the in-core docs. It would be
simpler to mention the search command rather than each formula
individually, as that could easily rot across the years.

> 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.

This is not surprising, that's the only way for distributions to do
upgrades in a predictible way.

> $ 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

It's a bit surprising that they don't have a formula for 9.6, but
well, that's been EOL by the community for some time now. I can see
that as well in my own setup.
--
Michael

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Michael Paquier 2023-07-11 23:41:45 Re: Got FATAL in lock_twophase_recover() during recovery
Previous Message Gurjeet Singh 2023-07-11 18:14:31 Re: BUG #18018: Homebrew link is broken

Browse pgsql-www by date

  From Date Subject
Next Message Daniel Gustafsson 2023-07-12 12:49:50 Re: BUG #18018: Homebrew link is broken
Previous Message Gurjeet Singh 2023-07-11 18:14:31 Re: BUG #18018: Homebrew link is broken