pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrei Lepikhov <lepihov@gmail.com>
To: Robert Haas <robertmhaas@gmail.com>
Cc: Sami Imseih <samimseih@gmail.com>
Cc: Jeff Davis <pgsql@j-davis.com>
Cc: Thom Brown <thom@linux.com>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Subject: Re: making EXPLAIN extensible
Date: Sat, 3 May 2025 20:44:43 +0200
Message-ID: <25642340-0f04-4a19-a332-e6567dd436f6@gmail.com> (raw)
In-Reply-To: <CA+TgmobefDLOWkUdD15YY-XpeAJfSTynPX=tSc=NFTe+r_gNug@mail.gmail.com>
References: <CA+TgmoYSzg58hPuBmei46o8D3SKX+SZoO4K_aGQGwiRzvRApLg@mail.gmail.com>
	<CAA5RZ0vOcJF91O2e5AQN+V6guMNLMhJx83dxALf-iUZ-hLGO_Q@mail.gmail.com>
	<2c9376aa-9c66-4662-9803-3d9bc2afead1@gmail.com>
	<8e8b6f17-e1e6-4b16-84d4-37ded802c787@gmail.com>
	<CA+TgmoaTkMna7OMqP-bJ+70sVvhmc2pHZ8xa1dU6NVAWE=7Qrg@mail.gmail.com>
	<CAA5RZ0sKhLRqce2+tvfuzBzm=HWQCe5TdPcbj7Vse+jQE=pyVA@mail.gmail.com>
	<CA+TgmoYcAfrOX8m05vVeh9QXUWO5SUA-uRo67DOK2tmZOnVXqg@mail.gmail.com>
	<CAA5RZ0uYFERQO9XYx9Rc+bVO5WStRSOvK1Bw16qXTNxnCp8xEw@mail.gmail.com>
	<1584338.1742582225@sss.pgh.pa.us>
	<CA+TgmoZfvQUBWQ2P8iO30jywhfEAKyNzMZSR+uc2xr9PZBw6eQ@mail.gmail.com>
	<41ca9655-f905-4eec-96b3-8a3fef350548@gmail.com>
	<CA+Tgmoa5fFZY3S-cY5PHAo=msGgkmP4bZchHZKQDke_h605ZpQ@mail.gmail.com>
	<CA+TgmoY01MHtibbE=84tHmJLNgcBuvhH19JDd5PF8hrJG8mLbQ@mail.gmail.com>
	<41a344e3-ffb1-4296-8ba7-801f1e9642e5@gmail.com>
	<CA+TgmobefDLOWkUdD15YY-XpeAJfSTynPX=tSc=NFTe+r_gNug@mail.gmail.com>

On 28/3/2025 14:09, Robert Haas wrote:
> On Thu, Mar 27, 2025 at 5:34 PM Andrei Lepikhov <lepihov@gmail.com> wrote:
>> I’m afraid to sound like a bore, but I think pg_overexplain should
>> include a call into the hook call chain (see attachment). Who knows,
>> maybe this extension will be used someday in production?
> 
> Oh, bother, that was a silly mistake on my part. Thanks, committed.
I have one additional proposal.

I currently use this interface and have noticed that the parameter 
`option_name` in the RegisterExtensionExplainOption routine is 
case-sensitive. Since SQL treats our extended options as 
case-insensitive, it would be beneficial to either add a comment 
clarifying this behavior or forcedly convert incoming text constant to 
lowercase.

-- 
regards, Andrei Lepikhov





view thread (88+ messages)  latest in thread

Message-ID: <25642340-0f04-4a19-a332-e6567dd436f6@gmail.com>
Permalink:  ../25642340-0f04-4a19-a332-e6567dd436f6@gmail.com/
Also on:    postgresql.org/message-id/25642340-0f04-4a19-a332-e6567dd436f6@gmail.com

 · 

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: lepihov@gmail.com, robertmhaas@gmail.com, samimseih@gmail.com, pgsql@j-davis.com, thom@linux.com, tgl@sss.pgh.pa.us
  Subject: Re: making EXPLAIN extensible
  In-Reply-To: <25642340-0f04-4a19-a332-e6567dd436f6@gmail.com>
  References: <CA+TgmoYSzg58hPuBmei46o8D3SKX+SZoO4K_aGQGwiRzvRApLg@mail.gmail.com> <CAA5RZ0vOcJF91O2e5AQN+V6guMNLMhJx83dxALf-iUZ-hLGO_Q@mail.gmail.com> <2c9376aa-9c66-4662-9803-3d9bc2afead1@gmail.com> <8e8b6f17-e1e6-4b16-84d4-37ded802c787@gmail.com> <CA+TgmoaTkMna7OMqP-bJ+70sVvhmc2pHZ8xa1dU6NVAWE=7Qrg@mail.gmail.com> <CAA5RZ0sKhLRqce2+tvfuzBzm=HWQCe5TdPcbj7Vse+jQE=pyVA@mail.gmail.com> <CA+TgmoYcAfrOX8m05vVeh9QXUWO5SUA-uRo67DOK2tmZOnVXqg@mail.gmail.com> <CAA5RZ0uYFERQO9XYx9Rc+bVO5WStRSOvK1Bw16qXTNxnCp8xEw@mail.gmail.com> <1584338.1742582225@sss.pgh.pa.us> <CA+TgmoZfvQUBWQ2P8iO30jywhfEAKyNzMZSR+uc2xr9PZBw6eQ@mail.gmail.com> <41ca9655-f905-4eec-96b3-8a3fef350548@gmail.com> <CA+Tgmoa5fFZY3S-cY5PHAo=msGgkmP4bZchHZKQDke_h605ZpQ@mail.gmail.com> <CA+TgmoY01MHtibbE=84tHmJLNgcBuvhH19JDd5PF8hrJG8mLbQ@mail.gmail.com> <41a344e3-ffb1-4296-8ba7-801f1e9642e5@gmail.com> <CA+TgmobefDLOWkUdD15YY-XpeAJfSTynPX=tSc=NFTe+r_gNug@mail.gmail.com> <25642340-0f04-4a19-a332-e6567dd436f6@gmail.com>

* 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