Re: How to disconnect a single user in Postgresql 8.2.5 from a database
В списке pgsql-admin по дате отправления:
| От | Josh Kupershmidt |
|---|---|
| Тема | Re: How to disconnect a single user in Postgresql 8.2.5 from a database |
| Дата | |
| Msg-id | z2j4ec1cf761004191824ibad49657odff2914710d343fc@mail.gmail.com обсуждение исходный текст |
| Ответ на | Re: How to disconnect a single user in Postgresql 8.2.5 from a database (Sergey Konoplev <gray.ru@gmail.com>) |
| Ответы |
Re: How to disconnect a single user in Postgresql 8.2.5 from a database
|
| Список | pgsql-admin |
On Mon, Apr 19, 2010 at 11:52 AM, Sergey Konoplev <gray.ru@gmail.com> wrote: > On 19 April 2010 15:27, Steph L <engel306sl@yahoo.fr> wrote: >> How to disconnect a single user in Postgresql 8.2.5 from a database ? > AFAIK the only way is to upgrade to 8.4 and use pg_terminate_backend(): > http://www.postgresql.org/docs/8.4/interactive/functions-admin.html pg_terminate_backend() is just a SQL wrapper around: kill -SIGTERM [backend PID] For versions before 8.4: if you can SSH in to the server, run the above on the PID of the backend your user is connected to, and that should terminate their connection. Josh
В списке pgsql-admin по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера