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

From: lakshmi <lakshmigcdac(at)gmail(dot)com>
To: "Hayato Kuroda (Fujitsu)" <kuroda(dot)hayato(at)fujitsu(dot)com>
Cc: "Masashi Kamura (Fujitsu)" <kamura(dot)masashi(at)fujitsu(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: ECPG: inconsistent behavior with the document in “GET/SET DESCRIPTOR.”
Date: 2026-04-22 07:16:13
Message-ID: CAEvyyTiVtZFC1hEmRFn_1h7=R+-yD4o0qdnXPjNB9eebZDmwiA@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Apr 21, 2026 at 5:28 PM lakshmi <lakshmigcdac(at)gmail(dot)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
>

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Chao Li 2026-04-22 07:24:37 Re: Cleanup shadows variable warnings, round 1
Previous Message Bruce Momjian 2026-04-22 07:11:23 Re: First draft of PG 19 release notes