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

lakshmi <lakshmigcdac@gmail.com>

From: lakshmi <lakshmigcdac@gmail.com>
To: "Hayato Kuroda (Fujitsu)" <kuroda.hayato@fujitsu.com>
Cc: "Masashi Kamura (Fujitsu)" <kamura.masashi@fujitsu.com>, pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2026-04-22T07:16:13Z
Lists: pgsql-hackers
On Tue, Apr 21, 2026 at 5:28 PM lakshmi <lakshmigcdac@gmail.com> wrote:

> Hi,
>
> I tried modifying the code generation to handle multiple variables.
>
> Passing multiple variables in a single call (like &var1, &var2) doesn’t
> work, since ECPGget_desc_header currently accepts only one variable.
>
> Looking at the existing code and tests, it seems the expected approach is
> to call ECPGget_desc_header separately for each variable.
>
> So supporting multiple assignments would likely mean generating multiple
> function calls instead of a single one.
>
> Regards,
> Lakshmi G
>

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