This is an automated email from the ASF dual-hosted git repository.

Smyatkin-Maxim pushed a commit to branch pg-dump-rebase-REL-2
in repository https://gitbox.apache.org/repos/asf/cloudberry.git

commit ae68a5432e034619ad9fed6ace512438b84b4e0f
Author: xuqi.wxq <[email protected]>
AuthorDate: Tue Sep 27 14:56:27 2022 +0800

    Fix external protocol dump from gp6 using gp7 pg_dump.
    As in gp6 there is no objtype abbreviation E in 'acldefault' fuction.
---
 src/bin/pg_dump/pg_dump.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/pg_dump/pg_dump.c b/src/bin/pg_dump/pg_dump.c
index 7df34fdec1b..4c371179c7e 100644
--- a/src/bin/pg_dump/pg_dump.c
+++ b/src/bin/pg_dump/pg_dump.c
@@ -6647,7 +6647,7 @@ getExtProtocols(Archive *fout, int *numExtProtocols)
        int                     i_ptcvalidid;
 
        /* find all user-defined external protocol */
-       if (fout->remoteVersion >= 90200)
+       if (fout->remoteVersion >= 90600)
        {
                appendPQExpBuffer(query, "SELECT tableoid, "
                                                                 "oid, "


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to