From: Denis Laxalde Date: Sun, 10 Oct 2021 09:22:14 +0000 (+0200) Subject: Define PGRES_PIPELINE_* ExecStatusType values as macros for libpq < 14.0 X-Git-Tag: 3.0~11^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=875abc7b2776574481da8fd1d4654bb05cd9196e;p=thirdparty%2Fpsycopg.git Define PGRES_PIPELINE_* ExecStatusType values as macros for libpq < 14.0 --- diff --git a/psycopg_c/psycopg_c/pq/libpq.pxd b/psycopg_c/psycopg_c/pq/libpq.pxd index 381bfc5e3..78f7d56c7 100644 --- a/psycopg_c/psycopg_c/pq/libpq.pxd +++ b/psycopg_c/psycopg_c/pq/libpq.pxd @@ -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,