Re: track generic and custom plans in pg_stat_statements

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: track generic and custom plans in pg_stat_statements
Дата
Msg-id aIHarYaprfxOl7bU@paquier.xyz
обсуждение исходный текст
Ответ на Re: track generic and custom plans in pg_stat_statements  (Michael Paquier <michael@paquier.xyz>)
Ответы Re: track generic and custom plans in pg_stat_statements
Список pgsql-hackers
On Wed, Jul 23, 2025 at 12:15:06PM +0900, Michael Paquier wrote:
> A small thing that would be cleaner is to split the patch into two
> parts: one for the in-core backend addition and a second for PGSS.
> Code paths are different, so it's simple to do.

I have been looking at the backend part of the change to add the
cached plan type to PlannedStmt, and found the concept clean.  I have
moved the definition of the new enum to plannodes.h, tweaked a couple
of comments and the result seemed OK, so applied this part.

Attached is the rest of the patch for PGSS, not really reviewed yet.
I have noticed while going through it that pgssCachedPlanMode was not
required.
--
Michael

Вложения

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