Tatsuo>understanding it always uses unnamed portal even if the SQL is like "BEGIN" or "COMMIT" (no parameters). They are too often used. Why not doing like this?
Does it actually work?
The documentation says named portals last till the end of the transaction: