RE: ECPG: inconsistent behavior with the document in “GET/SET DESCRIPTOR.”
Hayato Kuroda (Fujitsu) <kuroda.hayato@fujitsu.com>
From: "Hayato Kuroda (Fujitsu)" <kuroda.hayato@fujitsu.com>
To: "Masashi Kamura (Fujitsu)" <kamura.masashi@fujitsu.com>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>, 'lakshmi' <lakshmigcdac@gmail.com>
Date: 2026-04-27T02:39:42Z
Lists: pgsql-hackers
Hi hackers, Overall: The author found the case pre-compilation could succeed but the actual compilation would fail, with SET/GET DESCRIPTOR. This patch tries to detect the pre-compilation phase and raise a failure. Based on the SQL standard/other DBMSs/history, it's not meaningful to allow the statement. This does not contain tests because we cannot compile such a test program in the first place. I marked the thread "Ready for Committer". Best regards, Hayato Kuroda FUJITSU LIMITED
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
ecpg: Reject multiple header items in GET/SET DESCRIPTOR
- 9e8fd9f7ab56 14 (unreleased) landed
- bfeddcf09b68 15 (unreleased) landed
- 4d4b73cfd27d 16 (unreleased) landed
- fe8c0a762b30 17 (unreleased) landed
- 081434b0f582 18 (unreleased) landed
- 4484165b0712 19 (unreleased) landed