Re: monitor postgres connect session

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: monitor postgres connect session
Дата
Msg-id 200104221802.f3MI2nQ16790@candle.pha.pa.us
обсуждение исходный текст
Ответ на monitor postgres connect session  ("postgres" <yaozhen@genienrm.com>)
Список pgsql-general
The ps command should show the connection username, database, and
status/idle.

> I like to know if a connect session is idle, before somebody can do a kill
> connect session.
>
> How can I get the session state?
> Where have the sample code or doc about this?
> And I want to code by c.
>
> Thanxs
>
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
>     (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)
>

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

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

Предыдущее
От: "David Wall"
Дата:
Сообщение: Re: Re: Getting milliseconds out of TIMESTAMP
Следующее
От: Antonio Gennarini - Geotronix
Дата:
Сообщение: CAST doesn't work :-(