Debian Codegraph @

debian/patches/0002-pgsql-postgresql-17-added-PGRES_TUPLES_CHUNK.patch

raw symbols SCIP
1 From: Joris Vink <[email protected]>
2 Date: Sun, 8 Dec 2024 14:56:33 +0100
3 Subject: pgsql: postgresql 17 added PGRES_TUPLES_CHUNK.
4
5 ---
6 src/pgsql.c | 3 +++
7 1 file changed, 3 insertions(+)
8
9 diff --git a/src/pgsql.c b/src/pgsql.c
10 index 9b63348..150de8d 100644
11 --- a/src/pgsql.c
12 +++ b/src/pgsql.c
13 @@ -787,6 +787,9 @@ pgsql_read_result(struct kore_pgsql *pgsql)
14 case PGRES_TUPLES_OK:
15 #if PG_VERSION_NUM >= 90200
16 case PGRES_SINGLE_TUPLE:
17 +#endif
18 +#if PG_VERSION_NUM >= 170000
19 + case PGRES_TUPLES_CHUNK:
20 #endif
21 pgsql->state = KORE_PGSQL_STATE_RESULT;
22 break;