From 5f80ede2e1bf3d05f6af451756d2551cca157776 Mon Sep 17 00:00:00 2001 From: wangxin327 <2331810232@qq.com> Date: Sat, 29 Apr 2023 16:09:57 +0800 Subject: [PATCH 1/3] fix:_printTocEntry --- src/bin/pg_dump/pg_backup_archiver.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bin/pg_dump/pg_backup_archiver.cpp b/src/bin/pg_dump/pg_backup_archiver.cpp index 2a619e3f8..af37e5240 100644 --- a/src/bin/pg_dump/pg_backup_archiver.cpp +++ b/src/bin/pg_dump/pg_backup_archiver.cpp @@ -3283,8 +3283,8 @@ static void _printTocEntry(ArchiveHandle* AH, TocEntry* te, RestoreOptions* ropt strcmp(te->desc, "CONSTRAINT") == 0 || strcmp(te->desc, "DEFAULT") == 0 || strcmp(te->desc, "FK CONSTRAINT") == 0 || strcmp(te->desc, "INDEX") == 0 || strcmp(te->desc, "RULE") == 0 || strcmp(te->desc, "TRIGGER") == 0 || - strcmp(te->desc, "USER MAPPING") == 0 || strcmp(te->desc, "PACKAGE BODY") || - strcmp(te->desc, "PACKAGE")) { + strcmp(te->desc, "USER MAPPING") == 0 || strcmp(te->desc, "PACKAGE BODY") == 0 || + strcmp(te->desc, "PACKAGE") == 0) { /* these object types don't have separate owners */ } else { write_msg(modulename, "WARNING: don't know how to set owner for object type %s\n", te->desc); From 05d4e4e1ca4baa5d85e0795d31daf6016c039952 Mon Sep 17 00:00:00 2001 From: wangxin327 <2331810232@qq.com> Date: Tue, 2 May 2023 16:16:19 +0800 Subject: [PATCH 2/3] fix:enable-dss --- src/bin/initdb/initdb.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/initdb/initdb.cpp b/src/bin/initdb/initdb.cpp index 495de66a3..5bf6a28a0 100644 --- a/src/bin/initdb/initdb.cpp +++ b/src/bin/initdb/initdb.cpp @@ -3798,7 +3798,7 @@ static void usage(const char* prog_name) printf(_(" -c, --enable-dcf enable DCF mode\n")); #endif #ifndef ENABLE_LITE_MODE - printf(_(" --enable-dss enable shared storage mode\n")); + printf(_(" --enable-dss enable ss_enable_dss mode\n")); #endif printf(_(" [-D, --pgdata=]DATADIR location for this database cluster\n")); #ifdef ENABLE_MULTIPLE_NODES From 137d4e898453dd204a06d25e3412f64737cfcb57 Mon Sep 17 00:00:00 2001 From: wangxin327 <2331810232@qq.com> Date: Tue, 2 May 2023 16:30:37 +0800 Subject: [PATCH 3/3] fix:enable_dss --- src/bin/initdb/initdb.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/initdb/initdb.cpp b/src/bin/initdb/initdb.cpp index 5bf6a28a0..495de66a3 100644 --- a/src/bin/initdb/initdb.cpp +++ b/src/bin/initdb/initdb.cpp @@ -3798,7 +3798,7 @@ static void usage(const char* prog_name) printf(_(" -c, --enable-dcf enable DCF mode\n")); #endif #ifndef ENABLE_LITE_MODE - printf(_(" --enable-dss enable ss_enable_dss mode\n")); + printf(_(" --enable-dss enable shared storage mode\n")); #endif printf(_(" [-D, --pgdata=]DATADIR location for this database cluster\n")); #ifdef ENABLE_MULTIPLE_NODES