Re: track generic and custom plans in pg_stat_statements

Поиск
Список
Период
Сортировка
От Andrei Lepikhov
Тема Re: track generic and custom plans in pg_stat_statements
Дата
Msg-id 5d6806ac-d74b-4563-9fc5-a7f0958b4ba2@gmail.com
обсуждение исходный текст
Ответ на Re: track generic and custom plans in pg_stat_statements  (Sami Imseih <samimseih@gmail.com>)
Список pgsql-hackers
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



В списке pgsql-hackers по дате отправления: