Re: making EXPLAIN extensible - Mailing list pgsql-hackers

From Isaac Morland
Subject Re: making EXPLAIN extensible
Date
Msg-id CAMsGm5fJJJPcK2TtAisFGqnTMPd6yquE7H7cUJ2+bppnxtn_xA@mail.gmail.com
Whole thread Raw
In response to Re: making EXPLAIN extensible  (Thom Brown <thom@linux.com>)
List pgsql-hackers
On Fri, 28 Feb 2025 at 15:09, Thom Brown <thom@linux.com> wrote:
 
One thing I am wondering is whether extensions should be required to
prefix their EXPLAIN option with the extension name to avoid
collisions.

If two extensions happen to choose the same name, it won't be possible
to use both simultaneously.

Could the call that processes the registration automatically prepend the extension name to the supplied explain option name? So if extension X registers option O it would be registered as X_O rather than returning an error if O doesn't follow the proper pattern.

pgsql-hackers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: Interrupts vs signals
Next
From: Robert Haas
Date:
Subject: Re: making EXPLAIN extensible