wrap pipeline in PG_VERSION_NUM >= 140000

This commit is contained in:
Joris Vink 2021-10-27 22:39:29 +02:00
parent 960730a062
commit 5962a94504
1 changed files with 2 additions and 0 deletions

View File

@ -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: