summaryrefslogtreecommitdiff
path: root/net/freeswitch/patches/450-mod_pgsql-Add-support-for-postgresql-14.patch
diff options
context:
space:
mode:
authorSebastian Kemper <sebastian_ml@gmx.net>2021-10-30 22:08:16 +0200
committerSebastian Kemper <sebastian_ml@gmx.net>2021-10-30 23:07:04 +0200
commit4ab96a18799a8d185a748d0b239b5701f33562c8 (patch)
tree7ea760c669382eb7ae236211022371c3ed8450ef /net/freeswitch/patches/450-mod_pgsql-Add-support-for-postgresql-14.patch
parent940613cd7b4eb45b3f9b73a33eea10ee876b1c42 (diff)
freeswitch: bump to 1.10.7
- 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>
Diffstat (limited to 'net/freeswitch/patches/450-mod_pgsql-Add-support-for-postgresql-14.patch')
-rw-r--r--net/freeswitch/patches/450-mod_pgsql-Add-support-for-postgresql-14.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/net/freeswitch/patches/450-mod_pgsql-Add-support-for-postgresql-14.patch b/net/freeswitch/patches/450-mod_pgsql-Add-support-for-postgresql-14.patch
new file mode 100644
index 0000000..543e7f1
--- /dev/null
+++ b/net/freeswitch/patches/450-mod_pgsql-Add-support-for-postgresql-14.patch
@@ -0,0 +1,23 @@
+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: