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 fa97544f01e9c9bf0a3f708334ba777e51c80ddc
parent c68eb0c7055f36e0ab97d8bb8192447b64f01685
Author: Joris Vink <joris@coders.se>
Date:   Wed, 27 Oct 2021 22:27:42 +0200

Handle PGRES_PIPELINE_* for PQResult()

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

diff --git a/src/pgsql.c b/src/pgsql.c @@ -772,6 +772,8 @@ pgsql_read_result(struct kore_pgsql *pgsql) } switch (PQresultStatus(pgsql->result)) { + case PGRES_PIPELINE_SYNC: + case PGRES_PIPELINE_ABORTED: case PGRES_COPY_OUT: case PGRES_COPY_IN: case PGRES_NONFATAL_ERROR: