Some preliminary searching revealed I had to edit the pg_hba.conf, but that seems like impossible in a circle ci build configuration, so I opted to add this line run: /usr/local/Cellar/postgresql@9.6/9.6.11/bin/initdb /usr/local/var/postgres --auth=trust --auth-host=trust --auth-local=trust. Can anyone point out a solution? The whole point of this is to spin up postgres in a MacOS environment that can then be used with a web application.
This only uninstalled 9.3.2 (the latest version), but I knew I had three other versions by looking in /usr/local/Cellar/postgresql/. I wanted to remove them all to start with a clean slate, and Homebrew was helpful enough to let me know how to do it after I tried to run the previous command a second time:
That's because postgresql requires the dtabase files to only be accesible by itself to prevent someone or something to corrupt the integrity of the daabase files.
This is the path to the cms data:
This is the cms diectory, here is the dblog.txt file, which maight contain hints to why the cms doesn't start correctly
start there.
Postgres comes with rather conservative defaults settings on your machine (hopefully you have a good admin for your production environment who knows how to tune your database server!) If you want to get the most out of your local postgres on MacOS you need to tune your postgresql.conf, typically found at
I looked in my 'library/PostgreSQL/13/share/postgresql/extensions' folder and I don't find postgis.control file. I have also downloaded postgres.app and I would have thought this would solve my problem but it still does not appear there.
same here ... "Could not open extension control file "/opt/homebrew/opt/postgresql@15/share/postgresql@15/extension/postgis.control": No such file or directory." i had my homebrew/postgresql@15 installed and tested. then did the "brew install postgis" -> which reported to be installed in /opt/homebrew/Cellar (that's ok since /opt/homebrew/opt is sybol-linked to /opt/homebrew/Cellar) and there is no postgis.control-file at that location. but there is a postgis.control file from today at /opt/homebrew/opt/postgresql@14/ ... fact is, that i just recently upgraded from 14 to 15 via homebrew upgrades. anyone here who knows how to direct a "brew install postgis" to the location of the newer postgresql@15-version ?
df19127ead