そろそろDBくらい使えた方が良いかと思い、とりあえずインストールしてみた。その記録。
$ tar zxvf postgresql-7.4.6.tar.gz
$ cd postrgresql-7.4.6
$ ./configure --with-includes=/sw/include/ --with-libraries=/sw/lib
$ make
$ sudo make install
$ sudo mkdir /usr/local/pgsql/data
$ sudo chown postgres /usr/local/pgsql/data
postgres(postgresスーパーユーザー)に変身$ su postgres
パスワード入力postgres$ /usr/local/pgsql/bin/initdb -D /usr/local/pgsql/data