Re: Possible request for new feature - Mailing list pgsql-admin

From Tom Lane
Subject Re: Possible request for new feature
Date
Msg-id 3374.1415201976@sss.pgh.pa.us
Whole thread Raw
In response to Possible request for new feature  ("Campbell, Lance" <lance@illinois.edu>)
Responses Re: Possible request for new feature  ("Campbell, Lance" <lance@illinois.edu>)
List pgsql-admin
"Campbell, Lance" <lance@illinois.edu> writes:
> I develop web application for the University of Illinois.  We use PostgreSQL on the backend to provide our web
applicationwith data for around 3 million pages of dynamic web content per month.  A nice feature would be the ability
todo something just like EXPLAIN ANALYZE on queries with the slight difference of actually returning the results from
thequery and appending the QUERY PLAN to the end of the query. 

Such a behavior would break just about every client application.  Have you
looked into using the auto_explain module, which instead logs query plans
to the postmaster log?  That's a far less invasive way of collecting plans
for queries of live applications.  pg_stat_statements would be worth a
look too.

            regards, tom lane


pgsql-admin by date:

Previous
From: "Campbell, Lance"
Date:
Subject: Possible request for new feature
Next
From: "Campbell, Lance"
Date:
Subject: Re: Possible request for new feature