Re: [ADMIN] how to disconnect users

2010-04-12 Thread Vibhor Kumar
On 12-Apr-2010, at 6:00 PM, Eduardo Sá dos Reis wrote: > I need to disconnect user in my database without creating inconsistencies. > What command should I use. > > Grateful > > Eduardo Which Version of PostgreSQL are you using? In PostgreSQL 8.4, you can use pg_terminate_backend() functio

Re: [ADMIN] how to disconnect users

2010-04-12 Thread Sergey Konoplev
2010/4/12 Eduardo Sá dos Reis : > I need to disconnect user in my database without creating inconsistencies. > What command should I use. If you are using 8.4 then you can do pg_terminate_backend(pid) function. For more info read http://www.postgresql.org/docs/8.4/interactive/functions-admin.html

[ADMIN] how to disconnect users

2010-04-12 Thread Eduardo Sá dos Reis
I need to disconnect user in my database without creating inconsistencies. What command should I use. Grateful Eduardo