postgresql12-server (databases/postgresql12-server) Updated: 1 month, 1 week ago Add to my watchlist
run postgresql12 as serverVersion: 12.22 License: Permissive GitHub
Maintainers | jyrkiwahlstedt |
Categories | databases |
Homepage | https://www.postgresql.org/ |
Platforms | {darwin any} |
Variants | - |
"postgresql12-server" depends on
run (1)
build (1)
Ports that depend on "postgresql12-server"
No ports
Port notes
To create a database instance, after install do
sudo mkdir -p ${prefix}/var/db/postgresql12/defaultdb
sudo chown postgres:postgres ${prefix}/var/db/postgresql12/defaultdb
sudo su postgres -c 'cd ${prefix}/var/db/postgresql12 && ${prefix}/lib/postgresql12/bin/initdb -D ${prefix}/var/db/postgresql12/defaultdb' A startup item has been generated that will aid in starting postgresql12-server with launchd. It is disabled by default. Execute the following command to start it, and to cause it to launch at startup:
sudo port load postgresql12-server
Port Health:
Loading Port Health