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
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
I need to disconnect user in my database without creating inconsistencies. What
command should I use.
Grateful
Eduardo