Re: could you tell me this..?

From: Vick Khera <vivek(at)khera(dot)org>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: could you tell me this..?
Date: 2010-08-05 14:55:10
Message-ID: AANLkTinfe3s=aqZBXBKp2SvhdF7rNPWR9yEfyRdPKbA1@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thu, Aug 5, 2010 at 9:40 AM, Szymon Guz <mabewlun(at)gmail(dot)com> wrote:
> killing it with -9 crashed the whole PostgreSQL server, don't do that.
> Instead just login to the database and run the function
> pg_cancel_backend() http://www.postgresql.org/docs/8.4/static/functions-admin.html,
> much more safe way.

Or, assuming you're still in the shell typing those commands, just hit
ctrl-c to cancel the current query.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Vick Khera 2010-08-05 14:57:19 Re: how can we resolving locking state ....
Previous Message Richard 2010-08-05 14:27:42 Why create CHECKPOINT_WAIT checkpoint in pg_start_backup not CHECKPOINT_IMMEDIATE?