Re: ps_status on fastpath
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Alvaro Herrera <alvherre@alvh.no-ip.org>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2010-12-17T15:41:06Z
Lists: 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