Hi thanks for you reply.
The real problem is that I have 3 differents D.B, each D.B has its own users connected to.
When i try to do kill -9 to a specific user the system kills all of them,
I wrote a script to find out which users are connected to which D.B
this is the output
akarton|qa|26756
postgres|test|25317
postgres|dev|26758
postgres|dev|26582
postgres|test|26849
This is the username,the D.B and the PID
Let say I want to disconnect 'akarton' what I do is kill -9 26756
Then the system kills all of them
any idea???
Thanks