Re: IDLE in transaction introspection

Jeroen Vermeulen <jtv@xs4all.nl>

From: Jeroen Vermeulen <jtv@xs4all.nl>
To: Andrew Dunstan <andrew@dunslane.net>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, Simon Riggs <simon@2ndQuadrant.com>, Robert Haas <robertmhaas@gmail.com>, Magnus Hagander <magnus@hagander.net>, Scott Mead <scottm@openscg.com>, pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2011-11-01T14:37:05Z
Lists: pgsql-hackers
On 2011-11-01 21:13, Andrew Dunstan wrote:

> Rename it please. "current_query" will just be wrong. I'd be inclined
> just to call it "query" or "query_string" and leave it to the docs to
> define the exact semantics.

I think "query" for a query that isn't ongoing would be just as wrong. 
How about "last_query"?


Jeroen