| From: | solai v <solai(dot)cdac(at)gmail(dot)com> |
|---|---|
| To: | Kirill Reshke <reshkekirill(at)gmail(dot)com> |
| Cc: | Anthonin Bonnefoy <anthonin(dot)bonnefoy(at)datadoghq(dot)com>, Sami Imseih <samimseih(at)gmail(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Re: Support named (destination) portals in extended proto for psql meta commands. |
| Date: | 2026-12-02 05:34:45 |
| Message-ID: | CAF0whudkZejQt3u8nkEf+V-c58Gfm6bn2SD=aYtm5ZNNP9893Q@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
Hi all
I have applied both patches and tested the changes locally.
Before applying the patches:
The new named-portal functionality was not available in the existing psql
build.
After applying both patches:
-
\parse successfully created a prepared statement.
-
\bind_named successfully bound the parameter.
-
\portal successfully selected the destination portal.
-
Executing the query using \g returned the expected result (15).
-
\close_portal closed the portal, and I was able to reuse the same portal
name.
-
\close_prepared closed the prepared statement. When I tried to bind it
again, PostgreSQL returned the expected error that the prepared statement
did not exist.
-
I also checked the \? output and confirmed that the new commands are
listed under Extended Query Protocol.
I also ran the psql regression tests. Three test files passed, but one test
file reported four failures. I am looking into those failures.The basic
named-portal functionality is working as expected in my manual testing.
Regards,
solai
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Fujii Masao | 2026-12-02 05:36:10 | Re: Doc: Fix BrinOpcInfo members to match the code |
| Previous Message | shveta malik | 2026-12-02 05:32:24 | Re: Preserve conflict log table during upgrade |