Re: SQL call to get pid of current connection

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: SQL call to get pid of current connection
Дата
Msg-id 29425.1117760592@sss.pgh.pa.us
обсуждение исходный текст
Ответ на SQL call to get pid of current connection  ("David Parker" <dparker@tazznetworks.com>)
Список pgsql-general
"David Parker" <dparker@tazznetworks.com> writes:
> Is there a function call that will return the pid of the postgres
> process associated with the current client connection?

libpq makes this available as PQbackendPID().  Dunno about other
client libraries.

            regards, tom lane

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

Предыдущее
От: "Greg Sabino Mullane"
Дата:
Сообщение: Re: PostgreSQL vs. InnoDB performance
Следующее
От: "David Parker"
Дата:
Сообщение: Re: SQL call to get pid of current connection