Skip to content

Commit 0162689

Browse files
authored
Update for Postgres 16 compatibility (#4)
* Update for Postgres 16 compatibility * Update mod_pgsql.c
1 parent 912d769 commit 0162689

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
@@ -605,6 +605,10 @@ switch_status_t database_handle_exec_string(switch_database_interface_handle_t *
605605
#if PG_VERSION_NUM >= 90002
606606
case PGRES_SINGLE_TUPLE:
607607
/* Added in PostgreSQL 9.2 */
608+
#endif
609+
#if PG_VERSION_NUM >= 160001
610+
case PGRES_TUPLES_CHUNK:
611+
/* Added in PostgreSQL 16 */
608612
#endif
609613
case PGRES_COMMAND_OK:
610614
case PGRES_TUPLES_OK:

0 commit comments

Comments
 (0)