Re: track generic and custom plans in pg_stat_statements

Поиск
Список
Период
Сортировка
От Sami Imseih
Тема Re: track generic and custom plans in pg_stat_statements
Дата
Msg-id CAA5RZ0uOriAV-PJZz2imVjORsdiuFRDiyAfMfqiFGngoOtJ1Mg@mail.gmail.com
обсуждение исходный текст
Ответ на track generic and custom plans in pg_stat_statements  (Sami Imseih <samimseih@gmail.com>)
Список pgsql-hackers
> It turns out that 1722d5eb05d8e reverted 525392d5727f, which
> made CachedPlan available in QueryDesc and thus
> available to pgss_ExecutorEnd.

I also forgot to mention, the revert also removes the generic plan
is_reused logic:

```
bool            is_reused;              /* is it a reused generic plan? */
```
which we had to account for up until v5. So this simplifies the
tracking a bit more as the only states to track are "generic plan"
or "custom plan" only.

--
Sami Imseih
Amazon Web Services (AWS)



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