Re: RFC: Logging plan of the running query
| От | Akshat Jaimini |
|---|---|
| Тема | Re: RFC: Logging plan of the running query |
| Дата | |
| Msg-id | 176349718657.1015.12677520994128141938.pgcf@coridan.postgresql.org обсуждение исходный текст |
| Ответ на | Re: RFC: Logging plan of the running query (torikoshia <torikoshia@oss.nttdata.com>) |
| Ответы |
Re: RFC: Logging plan of the running query
|
| Список | pgsql-hackers |
Hi, I have a question: In src/backend/executor/execMain.c: ``` + SetCurrentQueryDesc(oldQueryDesc); + + /* + * Ensure LogQueryPlanPending is initialized in case there was no time for + * logging the plan. Othewise plan will be logged at the next query + * execution on the same session. + */ + LogQueryPlanPending = false; ``` It would be really helpful if you could elaborate on any cases where this specific situation might arise i.e. where 'therewas no time for logging the plan'. Are we referencing to something like a sudden shutdown of the postmaster processor is this referring to something else entirely? Regards, Akshat Jaimini
В списке pgsql-hackers по дате отправления: