Postgres.app is the easiest way to get started with PostgreSQL on the Mac. Open the app, and you have a PostgreSQL server ready and awaiting new connections. Close the app, and the server shuts down.
Postgres.app will be distributed through the Mac App Store, with a separate build containing the latest PostgreSQL beta available for direct download from the website.
You can download the latest build from the Postgres.app website
Documentation is available at http://postgresapp.com/documentation, as well as from the "Open Documentation" menu item in Postgres.app.
How To Build
- Select the "Postgres Binaries" scheme, and build by clicking "Run", or using the keyboard shortcut,
- Optionally, Select the "Postgres Extensions" scheme, and build in the same manner.
- Once the binaries are finished building, select the "Postgres Mac Application" scheme, and build & run by clicking "Run", or using the keyboard shortcut,
Under the Hood
Postgres.app bundles the PostgreSQL binaries as auxiliary executables. An XPC service manages
postgres processes, which are terminated when the app is quit.
The database data directory is located in the
/var directory of the Postgres.app Container's Application Support directory. When the app is launched, it checks for "PG_VERSION" in the directory. If it does not exist,
initdb is run, and later,
createdb to create a default database for the current user.
Postgres.app is released under the PostgreSQL License. See LICENSE for additional information.