Skip to content

Commit 7b80a9a

Browse files
authored
One more PGRES_TUPLES_CHUNK for Postgres 16 (#5)
Added one more PGRES_TUPLES_CHUNK to support PostgreSQL 16
1 parent 0162689 commit 7b80a9a

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/mod/databases/mod_pgsql/mod_pgsql.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -770,6 +770,10 @@ switch_status_t pgsql_next_result_timed(switch_pgsql_handle_t *handle, switch_pg
770770
#if PG_VERSION_NUM >= 90002
771771
case PGRES_SINGLE_TUPLE:
772772
/* Added in PostgreSQL 9.2 */
773+
#endif
774+
#if PG_VERSION_NUM >= 160001
775+
case PGRES_TUPLES_CHUNK:
776+
/* Added in PostgreSQL 16 */
773777
#endif
774778
case PGRES_TUPLES_OK:
775779
{

0 commit comments

Comments
 (0)