[nycbug-talk] postgres success/failed install

Francisco Reyes lists
Wed Jun 1 21:25:37 EDT 2005


On Tue, 31 May 2005, Matthew Terenzio wrote:

> also running  /usr/local/etc/rc.d/010.pgsql.sh initdb looks like it just 
> shoots blanks.

As someone else mentioned you need change your /etc/rc.conf and add
postgresql_enable="YES"

In addition as far as I remember you run initdb by itself.
You may also want to consider having a ~/.cshr for the pgsql user like

set path = ( /usr/local/bin $path )
setenv PGLIB /usr/local/lib

# note: PGDATA can be overridden by the -D startup option
setenv PGDATA $HOME/data
setenv PGUSER pgsql
setenv PGPASSWORD your_user_password


Hope that helps.




More information about the talk mailing list