diff --git a/src/pgsql.c b/src/pgsql.c index 9177528..55c7fbf 100644 --- a/src/pgsql.c +++ b/src/pgsql.c @@ -772,8 +772,10 @@ pgsql_read_result(struct kore_pgsql *pgsql) } switch (PQresultStatus(pgsql->result)) { +#if PG_VERSION_NUM >= 140000 case PGRES_PIPELINE_SYNC: case PGRES_PIPELINE_ABORTED: +#endif case PGRES_COPY_OUT: case PGRES_COPY_IN: case PGRES_NONFATAL_ERROR: