Re: connection timeouts and "killing" users

Поиск
Список
Период
Сортировка
От Scott Marlowe
Тема Re: connection timeouts and "killing" users
Дата
Msg-id dcc563d10809111435q25878b9fn73c9f4f1e2b628dd@mail.gmail.com
обсуждение исходный текст
Ответ на Re: connection timeouts and "killing" users  ("Gauthier, Dave" <dave.gauthier@intel.com>)
Ответы Re: connection timeouts and "killing" users  ("Gauthier, Dave" <dave.gauthier@intel.com>)
Список pgsql-general
On Thu, Sep 11, 2008 at 2:27 PM, Gauthier, Dave <dave.gauthier@intel.com> wrote:
>
> How do I get the pids? Is there something specific I should look for in the
> executable name I can see in "ps"?

You can either use a combination of ps and grep:

ps ax|grep postgres|grep dbname

or use the pg_stat_activity table;

>  Will I break any remote server processes which are handeling remote
> attaches if I do this?

Yes, they would lose their connection.  It's a choice you don't have
anymore if you're renaming databases underneath them.

В списке pgsql-general по дате отправления:

Предыдущее
От: "Dann Corbit"
Дата:
Сообщение: Re: Windows ODBC Driver
Следующее
От: Chander Ganesan
Дата:
Сообщение: Re: Psql command for rowcount