Each release of Postgres.app comes with the latest stable release of PostgreSQL, as well a few choice extensions. Here’s a rundown of what’s under the hood:
By default, PostgreSQL only allows connections from localhost, and requires no password.
If you want to connect to PostgreSQL from a different computer,
you need to change the listen_address
parameter in the file postgresql.conf
,
which you can find in your data directory (See Connections and Authentication in the PostgreSQL documentation).
Additionally, you need to edit the pg_hba.conf
file to configure which hosts can access the database.
Restart Postgres.app after changing these files.
~/Library/Application\ Support/Postgres/var-9.6
/Applications/Postgres.app/Contents/Versions/9.6/bin
/Applications/Postgres.app/Contents/Versions/9.6/include
/Applications/Postgres.app/Contents/Versions/9.6/lib
/Applications/Postgres.app/Contents/Versions/9.6/share
~/Library/Application\ Support/Postgres/var-9.6/postgresql.conf