]> git.ipfire.org Git - thirdparty/psycopg.git/commitdiff
Define PGRES_PIPELINE_* ExecStatusType values as macros for libpq < 14.0
authorDenis Laxalde <denis@laxalde.org>
Sun, 10 Oct 2021 09:22:14 +0000 (11:22 +0200)
committerDenis Laxalde <denis@laxalde.org>
Sun, 10 Oct 2021 09:23:53 +0000 (11:23 +0200)
psycopg_c/psycopg_c/pq/libpq.pxd

index 381bfc5e304f26b3bf0a72039674810f90627871..78f7d56c70dad91a52b819e91c393bc7c8abbb10 100644 (file)
@@ -294,6 +294,8 @@ cdef extern from *:
 #endif
 
 #if PG_VERSION_NUM < 140000
+#define PGRES_PIPELINE_SYNC 10
+#define PGRES_PIPELINE_ABORTED 11
 typedef enum {
     PQ_PIPELINE_OFF,
     PQ_PIPELINE_ON,