Re: making EXPLAIN extensible

From: Sami Imseih <samimseih(at)gmail(dot)com>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Jeff Davis <pgsql(at)j-davis(dot)com>, Thom Brown <thom(at)linux(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: making EXPLAIN extensible
Date: 2025-03-19 03:21:01
Message-ID: CAA5RZ0twuFUnP2U5w-XOtdqmWRi3VaB261x8jDxVs2YGaUUCUA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> > Do you want to propose a patch?
>
> yes, will attach a patch shortly.

Attached is a patch to add a hook to allow extensions
to add additional option validations. The hook takes
in the ExplainState as an argument and returns void.
It is expected the extension will raise an error if the
validation fails.

--
Sami Imseih
Amazon Web Services (AWS)

Attachment Content-Type Size
v1-0001-Add-new-hooks-for-performing-additional-EXPLAIN-o.patch application/octet-stream 2.4 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Amit Kapila 2025-03-19 03:36:01 Re: Adding a '--clean-publisher-objects' option to 'pg_createsubscriber' utility.
Previous Message David G. Johnston 2025-03-19 03:13:37 Re: Proposal: Deferred Replica Filtering for PostgreSQL Logical Replication