Re: ps_status on fastpath

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: ps_status on fastpath
Date: 2010-12-17 15:41:06
Message-ID: 29954.1292600466@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Pavel Stehule 2010-12-17 15:41:50 Re: patch: remove redundant code from pl_exec.c
Previous Message Tom Lane 2010-12-17 15:35:54 Re: patch: remove redundant code from pl_exec.c