aboutsummaryrefslogtreecommitdiff
path: root/odb/pgsql/error.ixx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2021-06-16 11:28:56 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2021-06-16 11:28:56 +0200
commitd094c398449be4366d6bfa93ad4fe58a19a159c1 (patch)
tree12d492c1b34bd9334e5fbe5c290c3f2d09ede617 /odb/pgsql/error.ixx
parentc6019273a7564be9ed772d45aa95e09aaff37a23 (diff)
Pipeline experimentbulk
Diffstat (limited to 'odb/pgsql/error.ixx')
-rw-r--r--odb/pgsql/error.ixx7
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;