| From: | Bill Barnes <kgbsoft(at)yahoo(dot)com> |
|---|---|
| To: | pg-general <pgsql-general(at)postgresql(dot)org> |
| Subject: | Re: Re: A How-To: PostgreSQL from Tcl via ODBC |
| Date: | 2001-02-25 06:19:01 |
| Message-ID: | 20010225061901.9553.qmail@web216.mail.yahoo.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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/
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2001-02-25 06:36:08 | Re: Strange behaviour of PL/Perl |
| Previous Message | Martin Schweitzer | 2001-02-25 05:55:56 | Load fixed length records. |