Update mod_pgsql.patch

This commit is contained in:
FusionPBX 2022-03-24 00:34:34 -06:00 committed by GitHub
parent e2589576c7
commit dbbadc1eed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -1,12 +1,14 @@
--- mod_pgsql.c 2020-05-12 10:19:16.000000000 +0000
+++ mod_pgsql.c.modified 2022-03-18 16:54:55.956097877 +0000
@@ -737,6 +737,9 @@
@@ -737,6 +737,11 @@
//#endif
case PGRES_COPY_OUT:
case PGRES_COPY_IN:
+#if POSTGRESQL_MAJOR_VERSION >= 14
+ case PGRES_PIPELINE_SYNC:
+ case PGRES_PIPELINE_ABORTED:
+ break;
+#endif
case PGRES_COMMAND_OK:
break;
case PGRES_EMPTY_QUERY: