Re: Deleting prepared statements from libpq.
Craig Ringer <craig@2ndquadrant.com>
From: Craig Ringer <craig@2ndquadrant.com>
To: Dmitry Igrishin <dmitigr@gmail.com>
Cc: PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Date: 2016-05-26T01:22:40Z
Lists: pgsql-hackers
On 25 May 2016 at 18:05, Dmitry Igrishin <dmitigr@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
Commits
-
libpq: Add support for Close on portals and statements
- 28b572656184 17.0 landed
-
Fix incorrect error message in libpq_pipeline
- 451ca5c1e699 14.9 landed
- 4fd633df5080 15.4 landed
- f69a7f08fd01 16.0 landed