mirror of
https://github.com/psycopg/psycopg2.git
synced 2024-11-10 19:16:34 +03:00
build: fix starting Postgres in macOS build script
The brew command fails with: Could not enable service: 125: Domain does not support specified action Error: Failure while executing; `/bin/launchctl enable gui/501/homebrew.mxcl.postgresql@14` exited with 125.
This commit is contained in:
parent
fdf957dcbd
commit
e3664380c4
|
@ -38,7 +38,12 @@ fi
|
|||
# Install PostgreSQL, if necessary
|
||||
command -v pg_config > /dev/null || (
|
||||
brew install postgresql@${postgres_version}
|
||||
brew services start postgresql
|
||||
# Currently not working
|
||||
# brew services start postgresql@${postgres_version}
|
||||
pg_ctl \
|
||||
-D /opt/homebrew/var/postgresql@${postgres_version} \
|
||||
-l /opt/homebrew/var/log/postgresql@${postgres_version}.log \
|
||||
start
|
||||
)
|
||||
|
||||
# Install the Python versions we want to build
|
||||
|
|
Loading…
Reference in New Issue
Block a user