forked from Mirrors/freeswitch
[mod_pgsql] Add support for postgresql 14
This commit is contained in:
parent
3decbb830c
commit
9f26a15220
|
@ -774,6 +774,11 @@ switch_status_t pgsql_next_result_timed(switch_pgsql_handle_t *handle, switch_pg
|
|||
case PGRES_COPY_IN:
|
||||
case PGRES_COMMAND_OK:
|
||||
break;
|
||||
#if POSTGRESQL_MAJOR_VERSION >= 14
|
||||
case PGRES_PIPELINE_ABORTED:
|
||||
case PGRES_PIPELINE_SYNC:
|
||||
break;
|
||||
#endif
|
||||
case PGRES_EMPTY_QUERY:
|
||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "Query (%s) returned PGRES_EMPTY_QUERY\n", handle->sql);
|
||||
case PGRES_BAD_RESPONSE:
|
||||
|
|
Loading…
Reference in New Issue