Re: Proposal - Allow extensions to set a Plan Identifier

From: Ilia Evdokimov <ilya(dot)evdokimov(at)tantorlabs(dot)com>
To: Sami Imseih <samimseih(at)gmail(dot)com>, Michael Paquier <michael(at)paquier(dot)xyz>, Andrei Lepikhov <lepihov(at)gmail(dot)com>
Cc: Bertrand Drouvot <bertranddrouvot(dot)pg(at)gmail(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>, Lukas Fittl <lukas(at)fittl(dot)com>
Subject: Re: Proposal - Allow extensions to set a Plan Identifier
Date: 2025-03-18 12:09:19
Message-ID: 773f7016-ebc8-400b-ad01-412aac19b139@tantorlabs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


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.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message vignesh C 2025-03-18 12:25:07 Re: Add missing tab completion for VACUUM and ANALYZE with ONLY option
Previous Message Shubham Khanna 2025-03-18 12:04:18 Re: Enhance 'pg_createsubscriber' to retrieve databases automatically when no database is provided.