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.