@ -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 <pgsql-bugs@postgresql.org>.\n");
|
||||
printf("\nReport bugs to <community@opengauss.org> or join opengauss community <https://opengauss.org>.\n");
|
||||
}
|
||||
|
||||
/*------------ MAIN ----------------------------------------*/
|
||||
|
||||
@ -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 <pgsql-bugs@postgresql.org>.\n");
|
||||
printf("\nReport bugs to <community@opengauss.org> or join opengauss community <https://opengauss.org>.\n");
|
||||
}
|
||||
|
||||
#ifndef WIN32
|
||||
|
||||
@ -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");
|
||||
|
||||
@ -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 <pgsql-bugs@postgresql.org>.\n",
|
||||
"Report bugs to <community@opengauss.org> or join opengauss community <https://opengauss.org>.\n",
|
||||
progname,
|
||||
progname);
|
||||
}
|
||||
|
||||
@ -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 <pgsql-bugs@postgresql.org>.\n");
|
||||
printf("Report bugs to <community@opengauss.org> or join opengauss community <https://opengauss.org>.\n");
|
||||
}
|
||||
|
||||
int main(int argc, char** argv)
|
||||
|
||||
@ -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 <pgsql-bugs@postgresql.org>.\n"));
|
||||
printf(_("\nReport bugs to <community@opengauss.org> or join opengauss community <https://opengauss.org>.\n"));
|
||||
}
|
||||
|
||||
static void check_authmethod_unspecified(const char** authmethod)
|
||||
|
||||
@ -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 <pgsql-bugs@postgresql.org>.\n"));
|
||||
printf(_("\nReport bugs to <community@opengauss.org> or join opengauss community <https://opengauss.org>.\n"));
|
||||
}
|
||||
|
||||
static void GsTarUsage(void)
|
||||
|
||||
@ -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 <pgsql-bugs@postgresql.org>.\n"));
|
||||
printf(_("\nReport bugs to <community@opengauss.org> or join opengauss community <https://opengauss.org>.\n"));
|
||||
}
|
||||
|
||||
static bool stop_streaming(XLogRecPtr segendpos, uint32 timeline, bool segment_finished)
|
||||
|
||||
@ -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 <pgsql-bugs@postgresql.org>.\n"));
|
||||
printf(("Report bugs to <community@opengauss.org> or join opengauss community <https://opengauss.org>.\n"));
|
||||
}
|
||||
|
||||
static void show_all(void)
|
||||
|
||||
@ -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 <pgsql-bugs@postgresql.org>.\n"));
|
||||
printf(_("Report bugs to <community@opengauss.org> or join opengauss community <https://opengauss.org>.\n"));
|
||||
}
|
||||
|
||||
static const char* dbState(DBState state)
|
||||
|
||||
@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user