diff --git a/contrib/pg_archivecleanup/pg_archivecleanup.cpp b/contrib/pg_archivecleanup/pg_archivecleanup.cpp index 7bbce6578..519cf669d 100644 --- a/contrib/pg_archivecleanup/pg_archivecleanup.cpp +++ b/contrib/pg_archivecleanup/pg_archivecleanup.cpp @@ -224,7 +224,7 @@ static void SetWALFileNameForCleanup(void) static void usage(void) { - printf("%s removes older WAL files from PostgreSQL archives.\n\n", progname); + printf("%s removes older WAL files from openGauss archives.\n\n", progname); printf("Usage:\n"); printf(" %s [OPTION]... ARCHIVELOCATION OLDESTKEPTWALFILE\n", progname); printf("\nOptions:\n"); @@ -242,7 +242,7 @@ static void usage(void) "Or for use as a standalone archive cleaner:\n" "e.g.\n" " pg_archivecleanup /mnt/server/archiverdir 000000010000000000000010.00000020.backup\n"); - printf("\nReport bugs to .\n"); + printf("\nReport bugs to or join opengauss community .\n"); } /*------------ MAIN ----------------------------------------*/ diff --git a/contrib/pg_standby/pg_standby.cpp b/contrib/pg_standby/pg_standby.cpp index c3a6a4fff..a7a410713 100644 --- a/contrib/pg_standby/pg_standby.cpp +++ b/contrib/pg_standby/pg_standby.cpp @@ -472,7 +472,7 @@ static bool RestoreWALFileForRecovery(void) static void usage(void) { - printf("%s allows PostgreSQL warm standby servers to be configured.\n\n", progname); + printf("%s allows openGauss warm standby servers to be configured.\n\n", progname); printf("Usage:\n"); printf(" %s [OPTION]... ARCHIVELOCATION NEXTWALFILE XLOGFILEPATH [RESTARTWALFILE]\n", progname); printf("\nOptions:\n"); @@ -494,7 +494,7 @@ static void usage(void) " restore_command = 'pg_standby [OPTION]... ARCHIVELOCATION %%f %%p %%r'\n" "e.g.\n" " restore_command = 'pg_standby /mnt/server/archiverdir %%f %%p %%r'\n"); - printf("\nReport bugs to .\n"); + printf("\nReport bugs to or join opengauss community .\n"); } #ifndef WIN32 diff --git a/contrib/pg_xlogdump/pg_xlogdump.cpp b/contrib/pg_xlogdump/pg_xlogdump.cpp index 17abb9fef..e6b6d5815 100644 --- a/contrib/pg_xlogdump/pg_xlogdump.cpp +++ b/contrib/pg_xlogdump/pg_xlogdump.cpp @@ -733,7 +733,7 @@ static void XLogDumpDisplayStats(XLogDumpConfig* config, XLogDumpStats* stats) static void usage(void) { - printf("%s decodes and displays PostgreSQL transaction logs for debugging.\n\n", progname); + printf("%s decodes and displays openGauss transaction logs for debugging.\n\n", progname); printf("Usage:\n"); printf(" %s [OPTION]... [STARTSEG [ENDSEG]] \n", progname); printf("\nOptions:\n"); diff --git a/contrib/pgbench/pgbench.cpp b/contrib/pgbench/pgbench.cpp index a4d78e05b..7763890d7 100644 --- a/contrib/pgbench/pgbench.cpp +++ b/contrib/pgbench/pgbench.cpp @@ -416,7 +416,7 @@ static char* xstrdup(const char* s) static void usage(const char* progname) { - printf("%s is a benchmarking tool for PostgreSQL.\n\n" + printf("%s is a benchmarking tool for openGauss.\n\n" "Usage:\n" " %s [OPTION]... [DBNAME]\n" "\nInitialization options:\n" @@ -468,7 +468,7 @@ static void usage(const char* progname) " -V, --version output version information, then exit\n" " -?, --help show this help, then exit\n" "\n" - "Report bugs to .\n", + "Report bugs to or join opengauss community .\n", progname, progname); } diff --git a/contrib/vacuumlo/vacuumlo.cpp b/contrib/vacuumlo/vacuumlo.cpp index d457fb6bd..75e259e0b 100644 --- a/contrib/vacuumlo/vacuumlo.cpp +++ b/contrib/vacuumlo/vacuumlo.cpp @@ -344,7 +344,7 @@ static void usage(const char* progname) printf(" -w never prompt for password\n"); printf(" -W force password prompt\n"); printf("\n"); - printf("Report bugs to .\n"); + printf("Report bugs to or join opengauss community .\n"); } int main(int argc, char** argv) diff --git a/src/bin/initdb/initdb.cpp b/src/bin/initdb/initdb.cpp index 0c9be650b..8ce7599b5 100644 --- a/src/bin/initdb/initdb.cpp +++ b/src/bin/initdb/initdb.cpp @@ -3292,7 +3292,7 @@ static int CreateRestrictedProcess(char* cmd, PROCESS_INFORMATION* processInfo) */ static void usage(const char* prog_name) { - printf(_("%s initializes a PostgreSQL database cluster.\n\n"), prog_name); + printf(_("%s initializes a openGauss database cluster.\n\n"), prog_name); printf(_("Usage:\n")); printf(_(" %s [OPTION]... [DATADIR]\n"), prog_name); printf(_("\nOptions:\n")); @@ -3334,7 +3334,7 @@ static void usage(const char* prog_name) printf(_(" -?, --help show this help, then exit\n")); printf(_("\nIf the data directory is not specified, the environment variable PGDATA\n" "is used.\n")); - printf(_("\nReport bugs to .\n")); + printf(_("\nReport bugs to or join opengauss community .\n")); } static void check_authmethod_unspecified(const char** authmethod) diff --git a/src/bin/pg_basebackup/pg_basebackup.cpp b/src/bin/pg_basebackup/pg_basebackup.cpp index 2322b6e77..78ddef92c 100644 --- a/src/bin/pg_basebackup/pg_basebackup.cpp +++ b/src/bin/pg_basebackup/pg_basebackup.cpp @@ -197,7 +197,7 @@ static void show_full_build_process(const char *errmg) static void usage(void) { - printf(_("%s takes a base backup of a running PostgreSQL server.\n\n"), progname); + printf(_("%s takes a base backup of a running openGauss server.\n\n"), progname); printf(_("Usage:\n")); printf(_(" %s [OPTION]...\n"), progname); printf(_("\nOptions controlling the output:\n")); @@ -228,7 +228,7 @@ static void usage(void) printf(_(" -U, --username=NAME connect as specified database user\n")); printf(_(" -w, --no-password never prompt for password\n")); printf(_(" -W, --password force password prompt (should happen automatically)\n")); - printf(_("\nReport bugs to .\n")); + printf(_("\nReport bugs to or join opengauss community .\n")); } static void GsTarUsage(void) diff --git a/src/bin/pg_basebackup/pg_receivexlog.cpp b/src/bin/pg_basebackup/pg_receivexlog.cpp index 9824bc457..a6af66989 100755 --- a/src/bin/pg_basebackup/pg_receivexlog.cpp +++ b/src/bin/pg_basebackup/pg_receivexlog.cpp @@ -54,7 +54,7 @@ static void free_receivexlog(); static void usage(void) { - printf(_("%s receives PostgreSQL streaming transaction logs.\n\n"), progname); + printf(_("%s receives openGauss streaming transaction logs.\n\n"), progname); printf(_("Usage:\n")); printf(_(" %s [OPTION]...\n"), progname); printf(_("\nOptions:\n")); @@ -72,7 +72,7 @@ static void usage(void) printf(_(" -w, --no-password never prompt for password\n")); printf(_(" -W, --password force password prompt (should happen automatically)\n")); printf(_(" --slot replication slot to use\n")); - printf(_("\nReport bugs to .\n")); + printf(_("\nReport bugs to or join opengauss community .\n")); } static bool stop_streaming(XLogRecPtr segendpos, uint32 timeline, bool segment_finished) diff --git a/src/bin/pg_config/pg_config.cpp b/src/bin/pg_config/pg_config.cpp index 4571bfbdd..488f7ee7e 100644 --- a/src/bin/pg_config/pg_config.cpp +++ b/src/bin/pg_config/pg_config.cpp @@ -336,7 +336,7 @@ static const InfoItem info_items[] = {{"--bindir", show_bindir}, static void help(void) { - printf(("\n%s provides information about the installed version of PostgreSQL.\n\n"), progname); + printf(("\n%s provides information about the installed version of openGauss.\n\n"), progname); printf(("Usage:\n")); printf((" %s [OPTION]...\n\n"), progname); printf(("Options:\n")); @@ -355,19 +355,19 @@ static void help(void) printf((" --sysconfdir show location of system-wide configuration files\n")); printf((" --pgxs show location of extension makefile\n")); printf((" --configure show options given to \"configure\" script when\n" - " PostgreSQL was built\n")); - printf((" --cc show CC value used when PostgreSQL was built\n")); - printf((" --cppflags show CPPFLAGS value used when PostgreSQL was built\n")); - printf((" --cflags show CFLAGS value used when PostgreSQL was built\n")); - printf((" --cflags_sl show CFLAGS_SL value used when PostgreSQL was built\n")); - printf((" --ldflags show LDFLAGS value used when PostgreSQL was built\n")); - printf((" --ldflags_ex show LDFLAGS_EX value used when PostgreSQL was built\n")); - printf((" --ldflags_sl show LDFLAGS_SL value used when PostgreSQL was built\n")); - printf((" --libs show LIBS value used when PostgreSQL was built\n")); - printf((" --version show the PostgreSQL version\n")); + " openGauss was built\n")); + printf((" --cc show CC value used when openGauss was built\n")); + printf((" --cppflags show CPPFLAGS value used when openGauss was built\n")); + printf((" --cflags show CFLAGS value used when openGauss was built\n")); + printf((" --cflags_sl show CFLAGS_SL value used when openGauss was built\n")); + printf((" --ldflags show LDFLAGS value used when openGauss was built\n")); + printf((" --ldflags_ex show LDFLAGS_EX value used when openGauss was built\n")); + printf((" --ldflags_sl show LDFLAGS_SL value used when openGauss was built\n")); + printf((" --libs show LIBS value used when openGauss was built\n")); + printf((" --version show the openGauss version\n")); printf((" -?, --help show this help, then exit\n")); printf(("\nWith no arguments, all known items are shown.\n\n")); - printf(("Report bugs to .\n")); + printf(("Report bugs to or join opengauss community .\n")); } static void show_all(void) diff --git a/src/bin/pg_controldata/pg_controldata.cpp b/src/bin/pg_controldata/pg_controldata.cpp index aa6cbe991..7cc8a530c 100644 --- a/src/bin/pg_controldata/pg_controldata.cpp +++ b/src/bin/pg_controldata/pg_controldata.cpp @@ -53,7 +53,7 @@ bool TransactionIdLogicallyPrecedes(TransactionId id1, TransactionId id2) static void usage(const char* progname) { - printf(_("%s displays control information of a PostgreSQL database cluster.\n\n"), progname); + printf(_("%s displays control information of a openGauss database cluster.\n\n"), progname); printf(_("Usage:\n")); printf(_(" %s [OPTION] [DATADIR]\n"), progname); printf(_("\nOptions:\n")); @@ -61,7 +61,7 @@ static void usage(const char* progname) printf(_(" -?, --help show this help, then exit\n")); printf(_("\nIf no data directory (DATADIR) is specified, " "the environment variable PGDATA\nis used.\n\n")); - printf(_("Report bugs to .\n")); + printf(_("Report bugs to or join opengauss community .\n")); } static const char* dbState(DBState state) diff --git a/src/bin/pg_dump/pg_restore.cpp b/src/bin/pg_dump/pg_restore.cpp index 96df47fbe..451370698 100644 --- a/src/bin/pg_dump/pg_restore.cpp +++ b/src/bin/pg_dump/pg_restore.cpp @@ -683,7 +683,7 @@ static void restore_getopts(int argc, char** argv, struct option* options, Resto void usage(const char* pchProgname) { - printf(_("%s restores a PostgreSQL database from an archive created by gs_dump.\n\n"), pchProgname); + printf(_("%s restores a openGauss database from an archive created by gs_dump.\n\n"), pchProgname); printf(_("Usage:\n")); printf(_(" %s [OPTION]... FILE\n"), pchProgname);