Re: how to access backend pid from libpq ?

Поиск
Список
Период
Сортировка
От Hannu Krosing
Тема Re: how to access backend pid from libpq ?
Дата
Msg-id 39F56E4B.743BE231@tm.ee
обсуждение исходный текст
Ответ на how to access backend pid from libpq ?  (Hannu Krosing <hannu@tm.ee>)
Ответы Re: Re: how to access backend pid from libpq ?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Hannu Krosing wrote:
> 
> I was unable to find the way to access the backend pid from libpq
> 
> It is probably saved somewhere as part of BackendKeyData message
> but there seems to be no function to access it ?
> 
> I'm using a temporary solution (my own 'C' function) but I'd like
> to use the info already received.

Ok, I found it from the libpq source: PQbackendPID

I still think it could be documented ;)

----------------
Hannu


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

Предыдущее
От: Hannu Krosing
Дата:
Сообщение: how to access backend pid from libpq ?
Следующее
От: The Hermit Hacker
Дата:
Сообщение: Re: Mailing list archives available?