Re: How to get the PID associated with a Perl DBI dbh?

Поиск
Список
Период
Сортировка
От A. Kretschmer
Тема Re: How to get the PID associated with a Perl DBI dbh?
Дата
Msg-id 20090312141312.GD31303@a-kretschmer.de
обсуждение исходный текст
Ответ на How to get the PID associated with a Perl DBI dbh?  (Kynn Jones <kynnjo@gmail.com>)
Ответы Re: How to get the PID associated with a Perl DBI dbh?  (Joshua Tolley <eggyknap@gmail.com>)
Список pgsql-general
In response to Kynn Jones :
> Is there a reliable way to find out the (Unix) PID associated with a database
> handle generated by Perl DBI's database connection?

You can ask the pg_stat_activity - View, column procpid.


HTH, Andreas
--
Andreas Kretschmer
Kontakt:  Heynitz: 035242/47150,   D1: 0160/7141639 (mehr: -> Header)
GnuPG-ID:   0x3FFF606C, privat 0x7F4584DA   http://wwwkeys.de.pgp.net

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

Предыдущее
От: Kynn Jones
Дата:
Сообщение: How to get the PID associated with a Perl DBI dbh?
Следующее
От: Joshua Tolley
Дата:
Сообщение: Re: How to get the PID associated with a Perl DBI dbh?