Re: terminate a coonextion within pg

From: Lew <noone(at)lewscanon(dot)com>
To: pgsql-novice(at)postgresql(dot)org
Subject: Re: terminate a coonextion within pg
Date: 2011-06-29 04:55:44
Message-ID: iueb8d$i2a$1@news.albasani.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Jean-Yves F. Barbier wrote:
> "mark"<dvlhntr(at)gmail(dot)com> wrote:
>> Jean-Yves F. Barbier wrote:
>>> Is there a possibility for a dbA to immediately terminate a working
>>> user connection?

>> SELECT pg_termindate_backend(process_id);1

> Perfect, thanks.

That should be "pg_terminate_backend(pid int)".

--
Lew
Honi soit qui mal y pense.
http://upload.wikimedia.org/wikipedia/commons/c/cf/Friz.jpg

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Susanne Ebrecht 2011-06-29 05:42:38 psql copy paste failure
Previous Message Jean-Yves F. Barbier 2011-06-29 02:01:15 Re: terminate a coonextion within pg