Re: ps_status on fastpath - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: ps_status on fastpath
Date
Msg-id 1292620498-sup-7971@alvh.no-ip.org
Whole thread Raw
In response to Re: ps_status on fastpath  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: ps_status on fastpath  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Excerpts from Tom Lane's message of vie dic 17 12:41:06 -0300 2010:
> 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()?

Just noticed that it's already handled in postgres.c, before calling
HandleFunctionRequest.  Probably not worth messing with.

-- 
Álvaro Herrera <alvherre@commandprompt.com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: unlogged tables vs. GIST
Next
From: Tom Lane
Date:
Subject: Re: ps_status on fastpath