Re: [GENERAL] capturing and storing query statement with

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Joe Conway <mail(at)joeconway(dot)com>
Cc: Mike Mascari <mascarm(at)mascari(dot)com>, Guillaume LELARGE <gleu(at)wanadoo(dot)fr>, "Hackers (PostgreSQL)" <pgsql-hackers(at)postgresql(dot)org>, Andrew Gould <andrewgould(at)yahoo(dot)com>
Subject: Re: [GENERAL] capturing and storing query statement with
Date: 2003-06-27 12:37:11
Message-ID: Pine.LNX.4.44.0306271322480.5890-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

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(at)gmx(dot)net

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Nigel J. Andrews 2003-06-27 12:39:32 developers.postgresql.org
Previous Message Claudio Lapidus 2003-06-27 12:36:41 Re: Vacuum (table performance)

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2003-06-27 12:37:55 Re: row description for domain in 7.4
Previous Message Peter Eisentraut 2003-06-27 12:36:37 Re: .pot files are unavailable (?)