Re: ps_status on fastpath

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

Excerpts from Tom Lane's message of vie dic 17 12:41:06 -0300 2010:
> 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()?

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

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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2010-12-17 21:21:48 Re: ps_status on fastpath
Previous Message Tom Lane 2010-12-17 21:17:56 Re: unlogged tables vs. GIST