Re: ps_status on fastpath

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: ps_status on fastpath
Дата
Msg-id 29954.1292600466@sss.pgh.pa.us
обсуждение исходный текст
Ответ на ps_status on fastpath  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
Ответы Re: ps_status on fastpath  (Alvaro Herrera <alvherre@commandprompt.com>)
Re: ps_status on fastpath  (Alvaro Herrera <alvherre@commandprompt.com>)
Список pgsql-hackers
Alvaro Herrera <alvherre@alvh.no-ip.org> writes:
> I noticed that the fastpath code doesn't update ps_status, which would
> be harmless except that it leads to "idle in transaction" being logged
> in log_line_prefix for the command tag.

> Are there objections to applying this?

Hm, what about pgstat_report_activity()?

Is anyone concerned about the added overhead for fastpath calls?
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: patch: remove redundant code from pl_exec.c
Следующее
От: Pavel Stehule
Дата:
Сообщение: Re: patch: remove redundant code from pl_exec.c