Re: Added columns to pg_stat_activity

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Added columns to pg_stat_activity
Дата
Msg-id 2682.1115478293@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Added columns to pg_stat_activity  ("Magnus Hagander" <mha@sollentuna.net>)
Список pgsql-patches
"Magnus Hagander" <mha@sollentuna.net> writes:
> I guess that's from not reading things carefully enough. I looked for
> where "backend pid" was transmitted, because I thought that would be a
> good place to put it. Which might bring up the question, why are things
> like the backend pid sent in msghdr and not in bestart?

I think the PID is used as the lookup key to associate messages from the
same backend.  You need some such key, though BackendId (sinval slot
number) is another workable candidate.

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Added columns to pg_stat_activity
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] Patch for database locale settings