]> git.ipfire.org Git - thirdparty/psycopg.git/commitdiff
Add missing ExecStatusType enum values for pipeline mode
authorDenis Laxalde <denis@laxalde.org>
Sat, 2 Oct 2021 16:57:21 +0000 (18:57 +0200)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Sat, 2 Oct 2021 17:33:18 +0000 (18:33 +0100)
Follow-up 515e246b5f933ba93fdde93a03287c6940dbf85b; these values were
only added for the Python definition of the enum.

psycopg_c/psycopg_c/pq/libpq.pxd

index 9fed6018b48955a477f6aadbd76d3a9d00e4f32e..381bfc5e304f26b3bf0a72039674810f90627871 100644 (file)
@@ -95,6 +95,8 @@ cdef extern from "libpq-fe.h":
         PGRES_FATAL_ERROR
         PGRES_COPY_BOTH
         PGRES_SINGLE_TUPLE
+        PGRES_PIPELINE_SYNC
+        PGRES_PIPELINE_ABORT
 
     # 33.1. Database Connection Control Functions
     PGconn *PQconnectdb(const char *conninfo)