Thread: kill connection

kill connection

From
"frank_lupo@email.it"
Date:
If possible in pgadmin kill a connection to user ?
Idea is:
create function kill (plperl,pltcl) in postgresql.
The parameter of function is pid process, execute command kill -9 pid
The problem is a permision process.

Tanks
Bye !!
Frank Lupo (Wolf) !!



--
Prendi GRATIS l'email universale che... risparmia: http://www.email.it/f

Sponsor:
Spendi i tuoi crediti su www.dmail.it: ricevi un Portamonete per Euro GRATIS con ogni ordine!

Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=372&d=6-4

Re: kill connection

From
Dave Page
Date:

> -----Original Message-----
> From: frank_lupo@email.it [mailto:frank_lupo@email.it]
> Sent: 06 April 2002 09:31
> To: pgadmin-hackers
> Subject: [pgadmin-hackers] kill connection
>
>
> If possible in pgadmin kill a connection to user ?
> Idea is:
> create function kill (plperl,pltcl) in postgresql.
> The parameter of function is pid process, execute command
> kill -9 pid The problem is a permision process.

This should be possible using an untrusted pl, however doing a kill -9 on a
backend is probably a very bad idea.

Besides that, as we can't rely on any pl language existing, this will
definitely not be a new feature.

Regards, Dave.