From 978cb0ab79c9c939c35996f34f7d835f9c671831 Mon Sep 17 00:00:00 2001 From: Joris Vink Date: Sun, 8 Dec 2024 14:56:33 +0100 Subject: [PATCH] pgsql: postgresql 17 added PGRES_TUPLE_CHUNK. --- src/pgsql.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/pgsql.c b/src/pgsql.c index 9b63348..1f5adc4 100644 --- a/src/pgsql.c +++ b/src/pgsql.c @@ -787,6 +787,9 @@ pgsql_read_result(struct kore_pgsql *pgsql) case PGRES_TUPLES_OK: #if PG_VERSION_NUM >= 90200 case PGRES_SINGLE_TUPLE: +#endif +#if PG_VERSION_NUM >= 170000 + case PGRES_TUPLE_CHUNK: #endif pgsql->state = KORE_PGSQL_STATE_RESULT; break;