Re: How to observe plan_cache_mode transition from custom to generic plan? - Mailing list pgsql-general

From Tom Lane
Subject Re: How to observe plan_cache_mode transition from custom to generic plan?
Date
Msg-id 3684101.1631203320@sss.pgh.pa.us
Whole thread Raw
In response to Re: How to observe plan_cache_mode transition from custom to generic plan?  (Richard Michael <rmichael@edgeofthenet.org>)
Responses Re: How to observe plan_cache_mode transition from custom to generic plan?  (Richard Michael <rmichael@edgeofthenet.org>)
List pgsql-general
Richard Michael <rmichael@edgeofthenet.org> writes:
> After reading Laurenz's reply, I experimented again with `PREPARE
> basic(int) AS SELECT $1 AS number;" and the query plan logged in the log
> file (by auto_explain) does indeed show "Output: $1" on the sixth EXPLAIN
> EXECUTE!  Sorry I missed this earlier.  (The EXPLAIN EXECUTE output itself
> does not contain an "Output:" line, so I didn't notice this lack of
> parameter substitution in psql.)

I think EXPLAIN VERBOSE would add that bit of detail.

            regards, tom lane



pgsql-general by date:

Previous
From: Richard Michael
Date:
Subject: Re: How to observe plan_cache_mode transition from custom to generic plan?
Next
From: Richard Michael
Date:
Subject: Re: How to observe plan_cache_mode transition from custom to generic plan?