restarting postmaster

From: "Marc Fromm" <Marc(dot)Fromm(at)wwu(dot)edu>
To: <pgsql-admin(at)postgresql(dot)org>
Subject: restarting postmaster
Date: 2008-03-05 17:35:09
Message-ID: 81FEAB8CDDC62B42B6E8AA258228BC8804CDA778@EVS2.univ.dir.wwu.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

My system is Fedora Core 7 running postgresql 8.2.3-2.

I can shutdown postgres and the postmaster with the single command
"pg_ctl stop -m smart."

According to the documentation I can restart the postmaster with "pg_ctl
start." When I enter pg_ctl start, everything starts except the
postmaster.
Checking ps ax | grep post displays 4 postgres processes and no
postmaster.

If I run "service postgresql start" instead of "pg_ctl start" then
everything starts, including the postmaster.

How come "pg_ctl start" does not start the postmaster?
Why does "service postgresql start" start the postmaster and all of
postgres, but it is not mentioned in the documentation?

What is the correct way to stop and start postgresql?

thanks

Marc Fromm
Information Technology Specialist II
Financial Aid Department
Western Washington University
Phone: 360-650-3351
Fax: 360-788-0251

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Devrim GÜNDÜZ 2008-03-05 17:37:42 Re: Can't Download Postgresql-V8.2.4 for Redhat Enteprise-V4
Previous Message Kevin Grittner 2008-03-05 16:22:10 Re: optimizating postgresql