> Now, I am thinking of creating a 'rc- > like' script that will start/stop pgsql.
Howard,
Use "pg_ctl restart -D $DATADIR" instead.
If you really want to get the PID from the postmaster.pid, you can do something like "pg_pid=`head -1 postmaster.pid`".
HTH, Brian
-- Philippine Linux Users' Group (PLUG) Mailing List [EMAIL PROTECTED] (#PLUG @ irc.free.net.ph) Official Website: http://plug.linux.org.ph Searchable Archives: http://marc.free.net.ph . To leave, go to http://lists.q-linux.com/mailman/listinfo/plug . Are you a Linux newbie? To join the newbie list, go to http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie
