Re: explain plans for foreign servers
dinesh salve <cooltodinesh@gmail.com>
From: dinesh salve <cooltodinesh@gmail.com>
To: Sami Imseih <samimseih@gmail.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, pgsql-hackers@postgresql.org, Jeff Davis <pgsql@j-davis.com>
Date: 2025-11-18T03:25:39Z
Lists: pgsql-hackers
Attachments
- 0001-This-change-adds-capability-to-fetch-explain-plans-f.patch (application/octet-stream) patch 0001
Hi Sami, Thanks for the feedback. I have refactored the commit on the latest version of PG and added a few more tests. To simplify the roll out of this feature, I decided to work on analyze=false use case first. Please find the attached patch for the same. Regards, Dinesh On Thu, Mar 6, 2025 at 4:54 AM Jeff Davis <pgsql@j-davis.com> wrote: > On Wed, 2025-03-05 at 14:12 -0500, Tom Lane wrote: > > I'm afraid not. That pretty fundamentally breaks the wire protocol, > > I think. > > The extended protocol docs say: "The possible responses to Execute are > the same as those described above for queries issued via simple query > protocol, except that Execute doesn't cause ReadyForQuery or > RowDescription to be issued." > > Each result set needs a RowDescription, so I think you're right that it > breaks the extended protocol. I missed that the first time. > > Regards, > Jeff Davis > > -- Regards, Dinesh Salve Cell:- 91 8125898845