Installers/Mac OS X

From PostgreSQL wiki

(Difference between revisions)
Jump to: navigation, search
(Known Installers)
(Known Installers)
Line 39: Line 39:
 
| <code>/usr/local/share</code>
 
| <code>/usr/local/share</code>
 
| <code>/Library/LaunchAgents/homebrew.mxcl.postgresql.plist</code>
 
| <code>/Library/LaunchAgents/homebrew.mxcl.postgresql.plist</code>
|
+
| UTF-8
 
|-
 
|-
 
| '''macports'''
 
| '''macports'''

Revision as of 21:37, 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.

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
Postgres.app 9.1.x /Applications/Postgres.app/Contents/MacOS/bin ~/Library/Application\ Support/Postgres/var
homebrew (aka 'brew install postgres') 9.2 (as of Sept 2012) /usr/local/bin (binary named postgres) /usr/local/share /Library/LaunchAgents/homebrew.mxcl.postgresql.plist UTF-8
macports
Personal tools