pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Robert Haas <robertmhaas@gmail.com>
Cc: Andrei Lepikhov <lepihov@gmail.com>
Cc: Jeff Davis <pgsql@j-davis.com>
Cc: Thom Brown <thom@linux.com>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Subject: Re: making EXPLAIN extensible
Date: Tue, 18 Mar 2025 14:40:19 -0400
Message-ID: <137944.1742323219@sss.pgh.pa.us> (raw)
In-Reply-To: <CA+TgmoZT4GRb6QyTH5NJ-NzOeRFxFj8Mn=HfUxGMiofzpAJJtA@mail.gmail.com>
References: <CA+TgmoYSzg58hPuBmei46o8D3SKX+SZoO4K_aGQGwiRzvRApLg@mail.gmail.com>
	<5bbca514250c1f8ee45f08ada94184b0ae109fe9.camel@j-davis.com>
	<CA+TgmoaE=7QGjWoWoi19gdF90YO1a0tq1-iyWVAhj82BMPnJSg@mail.gmail.com>
	<82f96eed213c8d76b36b8a3f504576e5af493270.camel@j-davis.com>
	<CA+TgmobPz9phD5PpXeUNTSrkc9uXkRg6Gfq6gPatpA-XTaQCcw@mail.gmail.com>
	<339167.1741200807@sss.pgh.pa.us>
	<CA+TgmobpP-7yOT-vdOFKFZoxe_z_36tgzorGyuF8wtZvZRtV8Q@mail.gmail.com>
	<476382.1741208421@sss.pgh.pa.us>
	<CA+TgmoZR-j1nqc9uz-9SMb2BecM-_bz4btixJ2X=9JCaCuEWEQ@mail.gmail.com>
	<480078.1741210736@sss.pgh.pa.us>
	<CA+TgmobK2+GwWwqpV-EAAdn5q14xphOm+JrE+mfOO8XqyN4HGQ@mail.gmail.com>
	<899469.1741295787@sss.pgh.pa.us>
	<CA+TgmoaF3fNJ_ZtAcJcjtoqX1djvvsm2hkSCR6y45NDC_vSaTw@mail.gmail.com>
	<CA+TgmoZRLm_tVWxv26Ho93aHkZ5NY8Hz-ffq0fykY6KdTSjSZg@mail.gmail.com>
	<760b4c92-6790-40e1-8a2b-631744a51433@gmail.com>
	<CA+Tgmoa-6bBzeLM4k5AAOFUfsw9ETEUspWA7v0R1iRCMfr-BKw@mail.gmail.com>
	<27476b3c-5d08-428f-b77a-b9d56f30db69@gmail.com>
	<CA+TgmoZT4GRb6QyTH5NJ-NzOeRFxFj8Mn=HfUxGMiofzpAJJtA@mail.gmail.com>

Robert Haas <robertmhaas@gmail.com> writes:
> If you mean just after, that would amount to deciding that information
> coming from extensions goes before information from core rather than
> after. I thought about that and it's defensible, but in the end I
> thought it made more sense for core info to come first. We could
> bikeshed this endlessly, but there's no single choice that's going to
> make everybody 100% happy, and adding a whole bunch of extra hooks to
> cater to various preferences about exactly how the output should look
> does not seem worth it to me.

FWIW, I am fairly strongly against that.  Every extension author is
going to feel that their information is so important it should come
first.  Other people might have a different opinion about that, and
in any case they can't all be first.

There's certainly room for bikeshedding here, but I think it'd be good
to get some actual experience before redesigning what you've done.

			regards, tom lane





view thread (88+ messages)  latest in thread

Message-ID: <137944.1742323219@sss.pgh.pa.us>
Permalink:  ../137944.1742323219@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/137944.1742323219@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-hackers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, robertmhaas@gmail.com, lepihov@gmail.com, pgsql@j-davis.com, thom@linux.com
  Subject: Re: making EXPLAIN extensible
  In-Reply-To: <137944.1742323219@sss.pgh.pa.us>
  References: <CA+TgmoYSzg58hPuBmei46o8D3SKX+SZoO4K_aGQGwiRzvRApLg@mail.gmail.com> <82f96eed213c8d76b36b8a3f504576e5af493270.camel@j-davis.com> <CA+TgmobPz9phD5PpXeUNTSrkc9uXkRg6Gfq6gPatpA-XTaQCcw@mail.gmail.com> <339167.1741200807@sss.pgh.pa.us> <CA+TgmobpP-7yOT-vdOFKFZoxe_z_36tgzorGyuF8wtZvZRtV8Q@mail.gmail.com> <476382.1741208421@sss.pgh.pa.us> <CA+TgmoZR-j1nqc9uz-9SMb2BecM-_bz4btixJ2X=9JCaCuEWEQ@mail.gmail.com> <480078.1741210736@sss.pgh.pa.us> <CA+TgmobK2+GwWwqpV-EAAdn5q14xphOm+JrE+mfOO8XqyN4HGQ@mail.gmail.com> <899469.1741295787@sss.pgh.pa.us> <CA+TgmoaF3fNJ_ZtAcJcjtoqX1djvvsm2hkSCR6y45NDC_vSaTw@mail.gmail.com> <CA+TgmoZRLm_tVWxv26Ho93aHkZ5NY8Hz-ffq0fykY6KdTSjSZg@mail.gmail.com> <760b4c92-6790-40e1-8a2b-631744a51433@gmail.com> <CA+Tgmoa-6bBzeLM4k5AAOFUfsw9ETEUspWA7v0R1iRCMfr-BKw@mail.gmail.com> <27476b3c-5d08-428f-b77a-b9d56f30db69@gmail.com> <CA+TgmoZT4GRb6QyTH5NJ-NzOeRFxFj8Mn=HfUxGMiofzpAJJtA@mail.gmail.com> <137944.1742323219@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox