Re: [GENERAL] capturing and storing query statement with - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: [GENERAL] capturing and storing query statement with
Date
Msg-id Pine.LNX.4.44.0306271322480.5890-100000@peter.localdomain
Whole thread Raw
In response to Re: [GENERAL] capturing and storing query statement with rules  (Joe Conway <mail@joeconway.com>)
Responses Re: [GENERAL] capturing and storing query statement with  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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@gmx.net



pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: adsrc and consrc incompatible with rename operations
Next
From: Peter Eisentraut
Date:
Subject: Re: row description for domain in 7.4