commit 978cb0ab79c9c939c35996f34f7d835f9c671831
parent d3afe09d4e03382fe865d7d3750e2c8709cadc5d
Author: Joris Vink <joris@sanctorum.se>
Date: Sun, 8 Dec 2024 14:56:33 +0100
pgsql: postgresql 17 added PGRES_TUPLE_CHUNK.
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/src/pgsql.c b/src/pgsql.c
@@ -788,6 +788,9 @@ pgsql_read_result(struct kore_pgsql *pgsql)
#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;
case PGRES_EMPTY_QUERY: