Re: Re: A How-To: PostgreSQL from Tcl via ODBC - Mailing list pgsql-general

From Bill Barnes
Subject Re: Re: A How-To: PostgreSQL from Tcl via ODBC
Date
Msg-id 20010225061901.9553.qmail@web216.mail.yahoo.com
Whole thread Raw
In response to A How-To: PostgreSQL from Tcl via ODBC  (Dan Lyke <danlyke@flutterby.com>)
List pgsql-general
Now have this installation running on Mandrake 7.2.

Added a script at /etc/rc.d/init.d/postgresql to start
the database at boot but it doesn't work.

The script:
su postgres
/usr/local/pgsql/bin/pg_ctl -D /usr/local/pgsql/data
-o "-i" start

The start command works, but as you already know, the
su postgres must go someplace else.  When I comment it
out the command line '/etc/rc.d/init.d/postgresql' as
user postgres starts the database.

Believe that a script to stop the database is also
required.

Thanks for your help.

Bill



__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.
http://personal.mail.yahoo.com/

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Problem with PL/pgSQL
Next
From: Tom Lane
Date:
Subject: Re: Strange behaviour of PL/Perl