Re: how to terminate a process when kill fails

From: "Shridhar Daithankar" <shridhar_daithankar(at)persistent(dot)co(dot)in>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: how to terminate a process when kill fails
Date: 2002-10-30 15:41:48
Message-ID: 3DC04B14.22681.AB5C966@localhost
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 30 Oct 2002 at 10:14, Johnson, Shaunn wrote:

>
> Running PostgreSQL 7.2.1 on RedHat Linux 7.2.
> I think I may have asked before, but I never got an answer
> that told me one way or another -
> How can I kill processes without kill -9 <pid> and
> ruining the database?

Just kill pid works. After that you should see postgresql shutdown subprocess
in ps listing. After all clients are done, it shuts down.

Postmaster man page lists signal and behaviour of postmaster. That should be
helpful.

HTH

Bye
Shridhar

--
A man either lives life as it happens to him, meets it head-on andlicks it, or
he turns his back on it and starts to wither away. -- Dr. Boyce, "The
Menagerie" ("The Cage"), stardate unknown

In response to

Browse pgsql-general by date

  From Date Subject
Next Message terry 2002-10-30 15:53:33 how to force drop a table
Previous Message Andrew Sullivan 2002-10-30 15:33:09 Re: Database replication... - Mission Critical DBMS's --