> > This doesn't tell you whether the query is still running, but ps tells you
> > that. In fact, it might be an idea to add a logging option that prints
> > something like "query finished in xxx ms". We actually have something
> > similar hidden under show_query_stats, but the formatting needs to be made
> > more convenient and possibly less verbose. But at least this way you have
> > it for the record, and not only on the screen.
>
> I *definitely* like this one ... I've been doing wrappers around my
> pg_exec() calls in PHP to do some stats generation to work on "slow
> queries", but having it in the backend would be more exact ... and easier
> to use then having to modify your apps ...
>
Added to TODO:
* Allow logging of query durations
-- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610)
853-3000+ If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill,
Pennsylvania19026