diff options
Diffstat (limited to 'odb/pgsql/error.ixx')
-rw-r--r-- | odb/pgsql/error.ixx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/odb/pgsql/error.ixx b/odb/pgsql/error.ixx index 0cda31b..74c0ad7 100644 --- a/odb/pgsql/error.ixx +++ b/odb/pgsql/error.ixx @@ -5,8 +5,8 @@ namespace odb { namespace pgsql { - bool - inline is_good_result (PGresult* r, ExecStatusType* s) + inline bool + is_good_result (PGresult* r, ExecStatusType* s) { if (r != 0) { @@ -18,7 +18,8 @@ namespace odb return status != PGRES_BAD_RESPONSE && status != PGRES_NONFATAL_ERROR && - status != PGRES_FATAL_ERROR; + status != PGRES_FATAL_ERROR && + status != PGRES_PIPELINE_ABORTED; } return false; |