See the previous post in time sequence for background information. create /Users/postgres RealName 'PostgreSQL Administrator' change /Users/postgres RealName '\n PostgreSQL-82 Server' 'PostgreSQL-93 Server' change /Users/postgres NFSHomeDirectory /opt/local/var/db/postgresql82 /opt/local/var/db/postgresql93 I also needed these hints on OS X postgres user creation: In creating the script above, I started with hints from: Here is a shell script to summarize what finally worked for me. MacPorts installed PostgreSQL OK, but getting the installation initialized and running took a few hours on a Saturday. I know some of you use HomeBrew but I still have enough things installed using MacPorts, that work and upgrade well, that I'm still in the MacPorts camp.
I recently installed PostgreSQL 9.3 using MacPorts.