On 18.03.2025 14:46, Ilia Evdokimov wrote:
>
> However, I have a question: what value should planid have when we
> execute the standard planner without using a planner_hook? For
> example, if pg_stat_statementsis disabled, would planid default to
> zero? If zero is the expected default, should we explicitly write this
> behavior?
>
> result->planid = 0;
>
Sorry for spam. I found the answer this question in thread [0].
[0]:
https://www.postgresql.org/message-id/flat/CAP53Pkyow59ajFMHGpmb1BK9WHDypaWtUsS_5DoYUEfsa_Hktg%40mail.gmail.com
--
Best regards,
Ilia Evdokimov,
Tantor Labs LLC.