postgresql16-server (databases/postgresql16-server) Updated: 3 months, 1 week ago Add to my watchlist
run postgresql16 as serverVersion: 16.4 License: Permissive GitHub
Maintainers | dgilman barracuda156 |
Categories | databases |
Homepage | https://www.postgresql.org/ |
Platforms | {darwin any} |
Variants | - |
"postgresql16-server" depends on
run (1)
build (1)
Ports that depend on "postgresql16-server"
No ports
Port notes
To create a database instance, after install do
sudo port select postgresql postgresql16
sudo mkdir -p ${prefix}/var/db/postgresql16/defaultdb
sudo chown postgres:postgres ${prefix}/var/db/postgresql16/defaultdb
sudo -u postgres /bin/sh -c 'cd ${prefix}/var/db/postgresql16 && ${prefix}/lib/postgresql16/bin/initdb -D ${prefix}/var/db/postgresql16/defaultdb' A startup item has been generated that will aid in starting postgresql16-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 postgresql16-server
Port Health:
Loading Port Health