the Fink distribution of Postgres (as of 8.2.4) contains a startup script to help start/stop the service; more information is available from the info file of the package:
$ fink info postgresql82
Information about 7342 packages read in 1 seconds.
postgresql82-8.2.4-1021: PostgreSQL open-source database
.
Usage Notes:
The package runs initdb on installation as the user 'postgres'.
.
The best way to run it is using the supplied pgsql.sh script, i.e.
'sudo pgsql.sh start'. Or, you can run
'sudo daemonic enable postgresql82' as root to create a
StartupItem for it.
.
Unless you set up admin users in the database, the easiest way to
run psql commands with administrator access is to prefix them with
the command "sudo -u postgres". This will ask you your administrator
password, and then run the command as the postgres user.
.
For example, to create a new database, you would run:
.
sudo -u postgres createdb mydb
.
Web site: http://www.postgresql.org/
.
Maintainer: Benjamin Reed <postgresql82@fink.racoonfink.com>