pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tino Schwarze <postgresql@tisc.de>
To: pgsql-admin@postgresql.org
Subject: Re: Who's attached to the database?
Date: Fri, 4 Jul 2008 18:41:02 +0200
Message-ID: <20080704164102.GA4933@easy2.in-chemnitz.de> (raw)
In-Reply-To: <902696.39596.qm@web59510.mail.ac4.yahoo.com>
References: <DCE58E12-256E-4707-A8E8-3B33FB286D09@indiana.edu>
	<902696.39596.qm@web59510.mail.ac4.yahoo.com>

On Fri, Jul 04, 2008 at 06:50:43AM -0700, Lennin Caro wrote:
> try this
> 
> select pg_cancel_backend(<processid_db>);
> 
> if the command not work kill the process in os
> 
> kill -9 proccessid_os

*NO*! Never kill -9 a postgres backend!!! This is like a headshot, no
chance to clean up. You will make your whole pg server shut down!

A simple kill should suffice.

Tino.

-- 
"What we nourish flourishes." - "Was wir nähren erblüht."

www.craniosacralzentrum.de
www.forteego.de



view thread (12+ messages)

Message-ID: <20080704164102.GA4933@easy2.in-chemnitz.de>
Permalink:  ../20080704164102.GA4933@easy2.in-chemnitz.de/
Also on:    postgresql.org/message-id/20080704164102.GA4933@easy2.in-chemnitz.de

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: postgresql@tisc.de
  Subject: Re: Who's attached to the database?
  In-Reply-To: <20080704164102.GA4933@easy2.in-chemnitz.de>

* 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