Re: explain plans for foreign servers - Mailing list pgsql-hackers

From Jeff Davis
Subject Re: explain plans for foreign servers
Date
Msg-id fc0cd0a77a2a5566f30a630580affb9fc3f43ce7.camel@j-davis.com
Whole thread Raw
In response to Re: explain plans for foreign servers  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
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




pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Add contrib/pg_logicalsnapinspect
Next
From: Fujii Masao
Date:
Subject: Re: [PATCH] Add regression tests of ecpg command notice (error / warning)