postgresql17-server (databases/postgresql17-server) Updated: 3 days, 15 hours ago Add to my watchlist

run postgresql17 as server
Version: 17.1 License: Permissive GitHub
Maintainers dgilman barracuda156
Categories databases
Homepage https://www.postgresql.org/
Platforms {darwin any}
Variants -

"postgresql17-server" depends on

run (1)
build (1)

Ports that depend on "postgresql17-server"

No ports


Port notes

To create a database instance, after install do
sudo port select postgresql postgresql17
sudo mkdir -p ${prefix}/var/db/postgresql17/defaultdb
sudo chown postgres:postgres ${prefix}/var/db/postgresql17/defaultdb
sudo -u postgres /bin/sh -c 'cd ${prefix}/var/db/postgresql17 && ${prefix}/lib/postgresql17/bin/initdb -D ${prefix}/var/db/postgresql17/defaultdb' A startup item has been generated that will aid in starting postgresql17-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 postgresql17-server


Port Health:

Loading Port Health

Installations (30 days)

0

Requested Installations (30 days)

0