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;