Installers/Mac OS X

From PostgreSQL wiki

(Difference between revisions)
Jump to: navigation, search
(Known Installers)
(Thanks to @zacduncan via twitter for path to postgres binary installed with brew)
Line 72: Line 72:
 
| 9.2 (as of Sept 2012)
 
| 9.2 (as of Sept 2012)
 
| <code>/usr/local/bin</code> (binary named <code>postgres</code>)
 
| <code>/usr/local/bin</code> (binary named <code>postgres</code>)
| <code>/usr/local/share</code>
+
| <code>/usr/local/var/postgres</code>
 
| <code>/Library/LaunchAgents/homebrew.mxcl.postgresql.plist</code>
 
| <code>/Library/LaunchAgents/homebrew.mxcl.postgresql.plist</code>
 
| UTF-8
 
| UTF-8

Revision as of 21:45, 13 November 2012

Why create this document?

There are a number of Mac OS X installers, each with it's own idea of where software and data should reside. Below is a guide to help developers and users figure out where their data is, and which installer they might have used.

If you are using one of these installers, or maybe a maintainer: Feel free to fill in missing information! Thanks.

Known Installers

Installer PostgreSQL version Binary location Data directory location Startup script location LC_COLLATE setting
Built-in PostgreSQL on Mac OS X Lion 9.0.x /var/pgsql /System/Library/LaunchDaemons/org.postgresql.postgres.plist
EnterpriseDB Mac OS X 1-click Installer 9.2.x /Library/PostgreSQL/9.2 /Library/PostgreSQL/9.2/data /Library/LaunchDaemons/com.edb.launchd.postgresql-9.2.plist C
EnterpriseDB Mac OS X 1-click Installer 9.1.x C
EnterpriseDB Mac OS X 1-click Installer 9.0.x C
EnterpriseDB Mac OS X 1-click Installer 8.4.x C
Postgres.app 9.0.x
Postgres.app 9.1.x /Applications/Postgres.app/Contents/MacOS/bin ~/Library/Application\ Support/Postgres/var
Postgres.app 9.2.x
homebrew (aka 'brew install postgres') 9.2 (as of Sept 2012) /usr/local/bin (binary named postgres) /usr/local/var/postgres /Library/LaunchAgents/homebrew.mxcl.postgresql.plist UTF-8
macports
Personal tools