xxxxxxxxxx
# psql -U postgres -W -h localhost
Password for user postgres:
psql (9.1.11)
SSL connection (cipher: DHE-RSA-AES256-SHA, bits: 256)
Type "help" for help.
postgres=#
xxxxxxxxxx
$ pg_ctl -D /usr/local/var/postgres -l /usr/local/var/postgres/server.log start