> Well, that's not completely trivial => the plan might depend upon the
> concrete value of $1,$2 and $3.
When you use PREPARE, it doesn't. I could live with that.
The purpose of this would be to have a library of "persistent prepared
statements" (just like lightweight functions) for your application, and
maximize the performance of persistent connections.