2010/4/12 Eduardo Sá dos Reis <eduardoreis@xxxxxxxxxxxxx>: > 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 -- Sergey Konoplev Blog: http://gray-hemp.blogspot.com / Linkedin: http://ru.linkedin.com/in/grayhemp / JID/GTalk: gray.ru@xxxxxxxxx / Skype: gray-hemp / ICQ: 29353802 -- Sent via pgsql-admin mailing list (pgsql-admin@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin