Proposal : Retain explainable statement location on ExplainStmt structure.

From: Anton Ratundalov <a(dot)ratundalov(at)postgrespro(dot)ru>
To: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Proposal : Retain explainable statement location on ExplainStmt structure.
Date: 2026-07-10 12:35:19
Message-ID: 1987734a-013a-47f1-85c6-9ae19a49dbe3@postgrespro.ru
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi hackers

Let me propose to amend ExplainStmt structure with an new attribute
explainable_loc of ParseLoc type

with the purpose of separating an EXPLAIN command ( together with it's
options ) from the statement to be explained.

This, for example, will allow to execute EXPLAIN remotely with a
different set of options.

Please, find code changes in the patch.

Best regards,

Anton Ratundalov,

Postgres Professional

Attachment Content-Type Size
retain_explainable_statement_location.patch text/x-patch 1.4 KB

Browse pgsql-hackers by date

  From Date Subject
Next Message vignesh C 2026-07-10 12:36:50 Re: sequencesync worker race with REFRESH SEQUENCES
Previous Message Tomas Vondra 2026-07-10 12:34:54 Re: s/pg_attribute_always_inline/pg_always_inline/?