Re: explain plans for foreign servers

From: Jeff Davis <pgsql(at)j-davis(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Sami Imseih <samimseih(at)gmail(dot)com>, dinesh salve <cooltodinesh(at)gmail(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: explain plans for foreign servers
Date: 2025-03-05 23:24:31
Message-ID: fc0cd0a77a2a5566f30a630580affb9fc3f43ce7.camel@j-davis.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Fujii Masao 2025-03-05 23:25:39 Re: [PATCH] Add regression tests of ecpg command notice (error / warning)
Previous Message Tom Lane 2025-03-05 23:10:41 Re: Add contrib/pg_logicalsnapinspect