identifying local connections

Поиск
Список
Период
Сортировка
От Scott Ribe
Тема identifying local connections
Дата
Msg-id E059EC3E-2F17-4C54-B35B-5CA0A38A25A3@elevated-dev.com
обсуждение исходный текст
Ответы Re: identifying local connections  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
Assume I have a local process which leaves a transaction open & idle for an extended period of time. Is there any way
toidentify the local process connected to a particular backend? 

pg_stat_activity is fine for TCP connections but does not provide useful identifying information for domain socket
connections.

I just upgraded to 9, and will implement set application_name in my various server daemons, but was wondering if
there'sa way to identify this process right now. 

--
Scott Ribe
scott_ribe@elevated-dev.com
http://www.elevated-dev.com/
(303) 722-0567 voice





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

Предыдущее
От: Vick Khera
Дата:
Сообщение: Re: Adding data from mysql to postgresql periodically
Следующее
От: Tom Lane
Дата:
Сообщение: Re: identifying local connections