On Thu, Apr 21, 2005 at 11:15:48PM +0100, Simon Riggs wrote:
This one is wrong ... it really means EXPLAIN EXECUTE.
> Index: explain.c
> ===================================================================
> RCS file: /projects/cvsroot/pgsql/src/backend/commands/explain.c,v
> retrieving revision 1.132
> diff -d -c -r1.132 explain.c
> *** explain.c 16 Apr 2005 20:07:35 -0000 1.132
> --- explain.c 21 Apr 2005 22:07:22 -0000
> ***************
> *** 205,211 ****
> * EXPLAIN output
> *
> * This is exported because it's called back from prepare.c in the
> ! * EXPLAIN EXECUTE case
> *
> * Note: the passed-in QueryDesc is freed when we're done with it
> */
> --- 205,211 ----
> * EXPLAIN output
> *
> * This is exported because it's called back from prepare.c in the
> ! * EXPLAIN ANALYZE case
> *
> * Note: the passed-in QueryDesc is freed when we're done with it
> */
--
Alvaro Herrera (<alvherre[@]dcc.uchile.cl>)
Essentially, you're proposing Kevlar shoes as a solution for the problem
that you want to walk around carrying a loaded gun aimed at your foot.
(Tom Lane)