Added columns to pg_stat_activity

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема Added columns to pg_stat_activity
Дата
Msg-id 6BCB9D8A16AC4241919521715F4D8BCE6C73DD@algol.sollentuna.se
обсуждение исходный текст
Ответы Re: Added columns to pg_stat_activity
Список pgsql-patches
This patch ticks off the following TODO items:

* Add session start time and last statement time to pg_stat_activity
 (we already had last-statement-time, provided command string stats were
enabled)
* Add the client IP address and port to pg_stat_activity

I have tested on Linux (both IPV4 and Unix sockets for the address/port)
and Win32 (naturally only IPV4). I don't have a machine around with IPV6
support, so I haven't tested that. The code to handle it is stolen from
inet_client_addr() though, so it should hopefully be ok.


//Magnus

Вложения

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Cleaning up unreferenced table files
Следующее
От: Neil Conway
Дата:
Сообщение: Re: Added columns to pg_stat_activity