Update mod_pgsql.patch

This commit is contained in:
FusionPBX 2022-03-19 12:41:36 -06:00 committed by GitHub
parent f8b898f006
commit 4831b73000
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 3 deletions

View File

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