Where is the pg_terminate_backend() function? Way to execute shell cmd

From: Uyelik <uyelik(at)yorukoglu(dot)name(dot)tr>
To: pgsql-general(at)postgresql(dot)org
Subject: Where is the pg_terminate_backend() function? Way to execute shell cmd
Date: 2006-10-20 11:59:37
Message-ID: 4538BA29.30600@yorukoglu.name.tr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,
1. On Postgresql 8.1.4, i can't use pg_terminate_backend(int) function.
How can i use this function?
2. How can i execute a shell command?
I need to terminate a client connection(some times active, some times
idle one) by a query. I can undertake the risc for it. :)

Regards,
Mustafa Yorukoglu

Browse pgsql-general by date

  From Date Subject
Next Message hefferon9 2006-10-20 12:07:59 SQL injection in a ~ or LIKE statement
Previous Message Ron Johnson 2006-10-20 11:12:23 Re: why not kill -9 postmaster