kore

An easy to use, scalable and secure web application framework for writing web APIs in C.
Commits | Files | Refs | README | LICENSE | git clone https://git.kore.io/kore.git

commit 5962a945046c37d9594be8c7aefd6dba20e32c33
parent 960730a062c23f30321956169fa6c1b97ff669c4
Author: Joris Vink <joris@coders.se>
Date:   Wed, 27 Oct 2021 22:39:29 +0200

wrap pipeline in PG_VERSION_NUM >= 140000

Diffstat:
src/pgsql.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git 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: