diff --git a/CN/modules/ROOT/pages/9.adoc b/CN/modules/ROOT/pages/9.adoc index 2432ee47..816c6fba 100644 --- a/CN/modules/ROOT/pages/9.adoc +++ b/CN/modules/ROOT/pages/9.adoc @@ -118,7 +118,7 @@ clusterdb接受下列命令行参数: - `--maintenance-db= *dbname*` -当使用 `-a` / `--all` 时,指定要连接到的数据库名称来发现哪些其他数据库应该被聚簇。 如果没有指定,将使用 `postgres` 数据库。而如果它也不存在,将使用 `template1`。 这可以是 http://www.postgresql.org/docs/17/libpq-connect.html#LIBPQ-CONNSTRING[connection string]。如果是这样,连接时的字符串参数将覆盖所有冲突的命令行选项。 另外,连接到其他数据库时,除了数据库名字本身其他的连接时字符串参数将被重新使用。 +当使用 `-a` / `--all` 时,指定要连接到的数据库名称来发现哪些其他数据库应该被聚簇。 省略此选项时,工具先尝试连接 `postgres`,连接失败时再尝试 `template1`。指定此选项时,工具只尝试给定的连接。 这可以是 http://www.postgresql.org/docs/17/libpq-connect.html#LIBPQ-CONNSTRING[connection string]。如果是这样,连接时的字符串参数将覆盖所有冲突的命令行选项。 另外,连接到其他数据库时,除了数据库名字本身其他的连接时字符串参数将被重新使用。 ==== 环境 @@ -3305,7 +3305,7 @@ reindexdb也接受下列命令行参数用于连接参数: - `--maintenance-db=*dbname*` -当使用 `-a` / `--all` 时,指定要连接到的数据库名称以发现应重新索引哪些数据库。 如果未指定,将使用 `postgres` 数据库, 如果不存在,将使用 `template1` 。 这可以是 http://www.postgresql.org/docs/17/libpq-connect.html#LIBPQ-CONNSTRING[连接字符串]。 如果是这样,连接字符串参数将覆盖任何冲突的命令行选项。 此外,在连接到其他数据库时,将重新使用除数据库名称本身之外的连接字符串参数。 +当使用 `-a` / `--all` 时,指定要连接到的数据库名称以发现应重新索引哪些数据库。 省略此选项时,工具先尝试连接 `postgres`,连接失败时再尝试 `template1`。指定此选项时,工具只尝试给定的连接。 这可以是 http://www.postgresql.org/docs/17/libpq-connect.html#LIBPQ-CONNSTRING[连接字符串]。 如果是这样,连接字符串参数将覆盖任何冲突的命令行选项。 此外,在连接到其他数据库时,将重新使用除数据库名称本身之外的连接字符串参数。 @@ -3475,7 +3475,7 @@ vacuumdb也接受下列命令行参数用于连接参数: - `--maintenance-db=*dbname*` -当使用 `-a` / `--all` 时,指定要连接到的数据库名称以发现应该清理的数据库。 如果未指定,将使用 `postgres` 数据库,如果不存在,将使用 `template1`。 这可以是 http://www.postgresql.org/docs/17/libpq-connect.html#LIBPQ-CONNSTRING[connection string]。 如果是这样,连接字符串参数将覆盖任何冲突的命令行选项。 此外,在连接到其他数据库时,将重新使用除数据库名称本身之外的连接字符串参数。 +当使用 `-a` / `--all` 时,指定要连接到的数据库名称以发现应该清理的数据库。 省略此选项时,工具先尝试连接 `postgres`,连接失败时再尝试 `template1`。指定此选项时,工具只尝试给定的连接。 这可以是 http://www.postgresql.org/docs/17/libpq-connect.html#LIBPQ-CONNSTRING[connection string]。 如果是这样,连接字符串参数将覆盖任何冲突的命令行选项。 此外,在连接到其他数据库时,将重新使用除数据库名称本身之外的连接字符串参数。 diff --git a/EN/modules/ROOT/pages/9.adoc b/EN/modules/ROOT/pages/9.adoc index d4b420c6..5214cc94 100644 --- a/EN/modules/ROOT/pages/9.adoc +++ b/EN/modules/ROOT/pages/9.adoc @@ -119,7 +119,7 @@ Force clusterdb to prompt for a password before connecting to a database.This op - `--maintenance-db=*dbname*` -Specifies the name of the database to connect to to discover which databases should be clustered, when `-a` / `--all` is used. If not specified, the `postgres` database will be used, or if that does not exist, `template1` will be used. This can be a http://www.postgresql.org/docs/17/libpq-connect.html#LIBPQ-CONNSTRING[connection string]. If so, connection string parameters will override any conflicting command line options. Also, connection string parameters other than the database name itself will be re-used when connecting to other databases. +Specifies the name of the database to connect to to discover which databases should be clustered, when `-a` / `--all` is used. When this option is omitted, the tool first tries to connect to `postgres` and tries `template1` if that connection fails. An explicit `--maintenance-db` uses only the supplied connection. This can be a http://www.postgresql.org/docs/17/libpq-connect.html#LIBPQ-CONNSTRING[connection string]. If so, connection string parameters will override any conflicting command line options. Also, connection string parameters other than the database name itself will be re-used when connecting to other databases. #### Environment @@ -3013,7 +3013,7 @@ Force reindexdb to prompt for a password before connecting to a database.This op - `--maintenance-db=*dbname*` -Specifies the name of the database to connect to to discover which databases should be reindexed, when `-a` / `--all` is used. If not specified, the `postgres` database will be used, or if that does not exist, `template1` will be used. This can be a http://www.postgresql.org/docs/17/libpq-connect.html#LIBPQ-CONNSTRING[connection string]. If so, connection string parameters will override any conflicting command line options. Also, connection string parameters other than the database name itself will be re-used when connecting to other databases. +Specifies the name of the database to connect to to discover which databases should be reindexed, when `-a` / `--all` is used. When this option is omitted, the tool first tries to connect to `postgres` and tries `template1` if that connection fails. An explicit `--maintenance-db` uses only the supplied connection. This can be a http://www.postgresql.org/docs/17/libpq-connect.html#LIBPQ-CONNSTRING[connection string]. If so, connection string parameters will override any conflicting command line options. Also, connection string parameters other than the database name itself will be re-used when connecting to other databases. #### Environment @@ -3181,7 +3181,7 @@ Force vacuumdb to prompt for a password before connecting to a database.This opt - `--maintenance-db=*dbname*` -Specifies the name of the database to connect to to discover which databases should be vacuumed, when `-a` / `--all` is used. If not specified, the `postgres` database will be used, or if that does not exist, `template1` will be used. This can be a http://www.postgresql.org/docs/17/libpq-connect.html#LIBPQ-CONNSTRING[connection string]. If so, connection string parameters will override any conflicting command line options. Also, connection string parameters other than the database name itself will be re-used when connecting to other databases. +Specifies the name of the database to connect to to discover which databases should be vacuumed, when `-a` / `--all` is used. When this option is omitted, the tool first tries to connect to `postgres` and tries `template1` if that connection fails. An explicit `--maintenance-db` uses only the supplied connection. This can be a http://www.postgresql.org/docs/17/libpq-connect.html#LIBPQ-CONNSTRING[connection string]. If so, connection string parameters will override any conflicting command line options. Also, connection string parameters other than the database name itself will be re-used when connecting to other databases. #### Environment