Re: Let plan_cache_mode to be a little less strict

Andy Fan <zhihuifan1213@163.com>

From: Andy Fan <zhihuifan1213@163.com>
To: Andrei Lepikhov <lepihov@gmail.com>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2025-07-31T10:15:16Z
Lists: pgsql-hackers
Andrei Lepikhov <lepihov@gmail.com> writes:


> CachedPlanSource entry also has a cursor_options field that indicates
> the caller's anticipation of a specific plan type for the statement.
..
> I propose that the declaration of cursor_options should take precedence
> over the GUC. 

This Looks good to me.

-- 
Best Regards
Andy Fan