How can I execute a prepared query using the libpq interface? The SQL Prepare documentation talks about select statements, but where is the documentation on SQL OPEN or some functionally equivalent libpq API? That is to say how is a cursor generated from a plan?
Thanks