On 30/7/2025 22:09, Sami Imseih wrote:
> The concepts of custom and generic plan types are associated with plan caches,
> so they cannot have a different source. right?
That is exactly what confused me: what does the 'origin' of the plan
mean? See the comment:
> PlannedStmtOrigin identifies from where a PlannedStmt comes from.
The first thing that comes to mind after reading this comment is a
subsystem, such as the SPI, simple or extended protocol, or an
extension. Another meaning is a type of plan, such as 'custom',
'generic', or 'referenced'. As I see, here is a bit different
classification used, not so obvious, at least for me.
--
regards, Andrei Lepikhov