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

Reply via email to