> Hm. Good thought. Maybe the same is true of held cursors.
>
> It would be a simple addition at either the protocol or SQL level to
> list the names of existing prepared statements and portals. Probably
> too late for 7.4 though.
Yup.. spot these two up on the TODO list.