Re: ECPG: inconsistent behavior with the document in “GET/SET DESCRIPTOR.” - Mailing list pgsql-hackers

From lakshmi
Subject Re: ECPG: inconsistent behavior with the document in “GET/SET DESCRIPTOR.”
Date
Msg-id CAEvyyTiVtZFC1hEmRFn_1h7=R+-yD4o0qdnXPjNB9eebZDmwiA@mail.gmail.com
Whole thread
In response to Re: ECPG: inconsistent behavior with the document in “GET/SET DESCRIPTOR.”  (lakshmi <lakshmigcdac@gmail.com>)
List 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

pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: First draft of PG 19 release notes
Next
From: Chao Li
Date:
Subject: Re: Cleanup shadows variable warnings, round 1