Re: [GENERAL] capturing and storing query statement with

Peter Eisentraut <peter_e@gmx.net>

From: Peter Eisentraut <peter_e@gmx.net>
To: Joe Conway <mail@joeconway.com>
Cc: Mike Mascari <mascarm@mascari.com>, Guillaume LELARGE <gleu@wanadoo.fr>, "Hackers (PostgreSQL)" <pgsql-hackers@postgresql.org>, Andrew Gould <andrewgould@yahoo.com>
Date: 2003-06-27T12:37:11Z
Lists: pgsql-hackers, pgsql-general
Joe Conway writes:

> I was thinking something similar. This exact question has come up at
> least three times in the last three months. I doubt we'd want a special
> keyword like CURRENT_QUERY, but maybe current_query()?

The current statement can be examined using the statistics views and
functions.

-- 
Peter Eisentraut   peter_e@gmx.net