pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: mallah@trade-india.com
To: stewarrb@yahoo.com
Cc: pgsql-admin@postgresql.org
Subject: Re: Killing only one postmaster
Date: Fri, 11 Apr 2003 23:57:17 +0530 (IST)
Message-ID: <1135.219.65.236.162.1050085637.squirrel@mail.trade-india.com> (raw)
In-Reply-To: <9a41d107.0304110640.374e1dd@posting.google.com>
References: <9a41d107.0304110640.374e1dd@posting.google.com>



I think there is only one postmaster and multiple backends.

To cancel the query being executed by a particular backend pid
use

kill -INT <pid_of_the_backend>
its equivalent to pressing ^C in psql for that query.

regds
mallah.

> How do I stop only one postmaster and not have the entire server
> restart?  Is this possible.  I have had several situations where I have a function not
> performing as I expect and need to kill just the backend process.
>
>
> Thanks,
> Bo Stewart
>
>
> ---------------------------(end of broadcast)--------------------------- TIP 1: subscribe and
> unsubscribe commands go to majordomo@postgresql.org



-----------------------------------------
Get your free web based email at trade-india.com.
   "India's Leading B2B eMarketplace.!"
http://www.trade-india.com/




view thread (7+ messages)  latest in thread

Message-ID: <1135.219.65.236.162.1050085637.squirrel@mail.trade-india.com>
Permalink:  ../1135.219.65.236.162.1050085637.squirrel@mail.trade-india.com/
Also on:    postgresql.org/message-id/1135.219.65.236.162.1050085637.squirrel@mail.trade-india.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: mallah@trade-india.com, stewarrb@yahoo.com
  Subject: Re: Killing only one postmaster
  In-Reply-To: <1135.219.65.236.162.1050085637.squirrel@mail.trade-india.com>
  References: <9a41d107.0304110640.374e1dd@posting.google.com> <1135.219.65.236.162.1050085637.squirrel@mail.trade-india.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox