Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-novice by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group