Closed Alam080 closed 1 year ago
Honestly I have no idea. PostgreSQL is clearly there:
$ brew formulae | grep postgresql@
postgresql@10
postgresql@11
postgresql@12
postgresql@13
postgresql@14
postgresql@15
postgresql@9.4
postgresql@9.5
The bit about installing a specific version is a warning (for now). I'll have to see what to do about that.
I think they've decided to make postgresql a strictly versioned formula in https://github.com/Homebrew/homebrew-core/pull/107726
I'm seeing a couple of other formulas define postgresql
like so:
def postgresql
Formula["postgresql@14"]
end
see https://github.com/search?q=repo%3AHomebrew%2Fhomebrew-core%20postgresql&type=code
So the formula for homebrew-sqitch need to be updated to use a specific version of postgresql?
I guess the latest version would be best but allowing other version would also be okay.
Maybe something like below, where the version can be specified.
brew install sqitch --with-postgres-15-support
just a suggestion or maybe there is a better way around this?
Yeah, that's one of the ideas under discussion in Homebrew/#4391.
Meanwhile, you can install Postgres separately.
ok, got Sqitch and Postgres installed separately and it seems to be working.
Thanks for the help.
Should I close this issue now that Sqitch is working for me?
I'm gonna leave it open because we'll have to tweak something to properly support Postgres formulas.
Hi, I have tried to follow the instructions to install sqitch on my Macbook but am failing on the formula section.
After checking the formula in the repo, it is calling postgresql when brew only allow specific version install of postgresql. i have installed postgresql@15 but still getting this error.
How should I solve this issue?