docs:mac:builds:postgresql

This is an old revision of the document!


PostgreSQL

./configure --prefix=/usr/local/pgsql --mandir=/usr/local/man --infodir=/usr/local/info

make

sudo make install

(untested from here down)

mkdir /usr/local/pgsql/data
chown postgres /usr/local/pgsql/data
su - postgres
/usr/local/pgsql/bin/initdb -D /usr/local/pgsql/data
/usr/local/pgsql/bin/postgres -D /usr/local/pgsql/data >logfile 2>&1 &
/usr/local/pgsql/bin/createdb test 
/usr/local/pgsql/bin/psql test 

FIXME - continue verifying install instructions

  • docs/mac/builds/postgresql.1212982957.txt.gz
  • Last modified: 2008/08/03 00:25
  • (external edit)