Re: ECPG: inconsistent behavior with the document in “GET/SET DESCRIPTOR.”

Fujii Masao <masao.fujii@gmail.com>

From: Fujii Masao <masao.fujii@gmail.com>
To: "Hayato Kuroda (Fujitsu)" <kuroda.hayato@fujitsu.com>
Cc: "Masashi Kamura (Fujitsu)" <kamura.masashi@fujitsu.com>, pgsql-hackers <pgsql-hackers@postgresql.org>, lakshmi <lakshmigcdac@gmail.com>
Date: 2026-06-03T08:13:37Z
Lists: pgsql-hackers
On Fri, May 29, 2026 at 12:44 PM Hayato Kuroda (Fujitsu)
<kuroda.hayato@fujitsu.com> wrote:
> Oh, I didn't recognized that we had TAP tests to detect error/warnings by the pre compiler.
> I do not have strong opinions for it.

IMO it feels a bit odd to add a test specifically for multiple items in
GET/SET DESCRIPTOR causing a syntax error, given that there are many
other unsupported syntax cases that we do not test. So I'm thinking not
to include that test.


Masashi-san,

Do you think this fix should be backpatched to all supported versions?
If so, could you prepare patches for the older branches?

Regards,

-- 
Fujii Masao



Commits

Same data as JSON: GET /api/v1/messages/:b64id/commits the thread's linked commits as JSON, with link sources. API reference →
  1. ecpg: Reject multiple header items in GET/SET DESCRIPTOR