aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--odb/pgsql/connection.cxx10
1 files changed, 10 insertions, 0 deletions
diff --git a/odb/pgsql/connection.cxx b/odb/pgsql/connection.cxx
index afb7670..4d51817 100644
--- a/odb/pgsql/connection.cxx
+++ b/odb/pgsql/connection.cxx
@@ -18,6 +18,14 @@ namespace odb
{
namespace pgsql
{
+ namespace
+ {
+ void
+ nop_process_notice (void*, const char*)
+ {
+ }
+ }
+
connection::
connection (database_type& db)
: db_ (db),
@@ -35,6 +43,8 @@ namespace odb
throw database_exception (m);
}
+
+ PQsetNoticeProcessor (handle_, &nop_process_notice, 0);
}
connection::