mirror of
https://github.com/jorisvink/kore
synced 2025-03-09 04:29:02 -04:00
wrap pipeline in PG_VERSION_NUM >= 140000
This commit is contained in:
parent
960730a062
commit
5962a94504
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user