On 25 May 2016 at 18:05, Dmitry Igrishin <dmit...@gmail.com> wrote: > Hello, > > According to > > https://www.postgresql.org/docs/current/static/protocol-flow.html#PROTOCOL-FLOW-EXT-QUERY > there are Close message for closing prepared statements or portals, but > according to > > https://www.postgresql.org/docs/current/static/libpq-exec.html#LIBPQ-PQPREPARE > "there is no libpq function for deleting a prepared statement". > > Could you tell me please, what is the reason for this? >
Nobody's implemented it. A patch to add PQclosePrepared and PQsendClosePrepared would be welcome. At least, I think so... -- Craig Ringer http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services