mirror of
https://github.com/openwrt/telephony.git
synced 2025-12-21 21:24:35 +04:00
- freetdm is now external - added the freeswitch library to InstallDev in preparation for freetdm package - add time64 change which always uses "lld" format and casts - various fixes related to general build and time64 especially - patches refreshed Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
24 lines
803 B
Diff
24 lines
803 B
Diff
From 9f26a15220b8b8b09c4debe41fe395d25d4cfeec Mon Sep 17 00:00:00 2001
|
|
From: shaunjstokes <shaun@sysconfig.cloud>
|
|
Date: Tue, 26 Oct 2021 18:25:14 +0200
|
|
Subject: [PATCH] [mod_pgsql] Add support for postgresql 14
|
|
|
|
---
|
|
src/mod/databases/mod_pgsql/mod_pgsql.c | 5 +++++
|
|
1 file changed, 5 insertions(+)
|
|
|
|
--- a/src/mod/databases/mod_pgsql/mod_pgsql.c
|
|
+++ b/src/mod/databases/mod_pgsql/mod_pgsql.c
|
|
@@ -774,6 +774,11 @@ switch_status_t pgsql_next_result_timed(
|
|
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:
|