aboutsummaryrefslogtreecommitdiff
path: root/odb
diff options
context:
space:
mode:
Diffstat (limited to 'odb')
-rw-r--r--odb/pgsql/statement.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/odb/pgsql/statement.cxx b/odb/pgsql/statement.cxx
index 5b7a1da..dde67c9 100644
--- a/odb/pgsql/statement.cxx
+++ b/odb/pgsql/statement.cxx
@@ -46,8 +46,9 @@ namespace odb
if (deallocated_)
return;
- string s ("deallocate ");
+ string s ("deallocate \"");
s += name_;
+ s += "\"";
result_ptr r (PQexec (conn_.handle (), s.c_str ()));
deallocated_ = true;