# HG changeset patch # User Sebastien Jodogne # Date 1551434551 -3600 # Node ID 2d2b268799a26d6eec793f8c8f66d0feb5740c31 # Parent 534759b0cf148d8c1ef0d37b5fe460c6e4ef7122 Explicit deallocation of prepared statements diff -r 534759b0cf14 -r 2d2b268799a2 Framework/PostgreSQL/PostgreSQLStatement.cpp --- a/Framework/PostgreSQL/PostgreSQLStatement.cpp Fri Feb 08 20:12:29 2019 +0100 +++ b/Framework/PostgreSQL/PostgreSQLStatement.cpp Fri Mar 01 11:02:31 2019 +0100 @@ -200,7 +200,7 @@ // "Although there is no libpq function for deleting a // prepared statement, the SQL DEALLOCATE statement can be // used for that purpose." - //database_.Execute("DEALLOCATE " + id_); + database_.Execute("DEALLOCATE \"" + id_ + "\""); } id_.clear(); diff -r 534759b0cf14 -r 2d2b268799a2 PostgreSQL/NEWS --- a/PostgreSQL/NEWS Fri Feb 08 20:12:29 2019 +0100 +++ b/PostgreSQL/NEWS Fri Mar 01 11:02:31 2019 +0100 @@ -1,6 +1,8 @@ Pending changes in the mainline =============================== +* Explicit deallocation of prepared statements + Release 3.1 (2019-02-08) ========================