summaryrefslogtreecommitdiff
path: root/src/interfaces/odbc/qresult.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/interfaces/odbc/qresult.h')
-rw-r--r--src/interfaces/odbc/qresult.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/interfaces/odbc/qresult.h b/src/interfaces/odbc/qresult.h
index 1bf1ce93b74..b313cbc467c 100644
--- a/src/interfaces/odbc/qresult.h
+++ b/src/interfaces/odbc/qresult.h
@@ -102,6 +102,7 @@ struct QResultClass_
/* status macros */
#define QR_command_successful(self) ( !(self->status == PGRES_BAD_RESPONSE || self->status == PGRES_NONFATAL_ERROR || self->status == PGRES_FATAL_ERROR))
+#define QR_command_maybe_successful(self) ( !(self->status == PGRES_BAD_RESPONSE || self->status == PGRES_FATAL_ERROR))
#define QR_command_nonfatal(self) ( self->status == PGRES_NONFATAL_ERROR)
#define QR_end_tuples(self) ( self->status == PGRES_END_TUPLES)
#define QR_set_status(self, condition) ( self->status = condition )