| From: | Sergey Konoplev <gray(dot)ru(at)gmail(dot)com> |
|---|---|
| To: | Eduardo Sá dos Reis <eduardoreis(at)pjf(dot)mg(dot)gov(dot)br> |
| Cc: | pgsql-admin(at)postgresql(dot)org |
| Subject: | Re: how to disconnect users |
| Date: | 2010-04-12 13:04:44 |
| Message-ID: | g2oc3a7de1f1004120604o1cd958a7o8d67b52674106c03@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-admin |
2010/4/12 Eduardo Sá dos Reis <eduardoreis(at)pjf(dot)mg(dot)gov(dot)br>:
> 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(dot)ru(at)gmail(dot)com / Skype: gray-hemp / ICQ: 29353802
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Dennis Thrysøe | 2010-04-12 13:19:51 | Re: "the database system is starting up" |
| Previous Message | Eduardo Sá dos Reis | 2010-04-12 12:30:49 | how to disconnect users |