Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions CN/modules/ROOT/pages/9.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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]。如果是这样,连接时的字符串参数将覆盖所有冲突的命令行选项。 另外,连接到其他数据库时,除了数据库名字本身其他的连接时字符串参数将被重新使用。

==== 环境

Expand Down Expand Up @@ -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[连接字符串]。 如果是这样,连接字符串参数将覆盖任何冲突的命令行选项。 此外,在连接到其他数据库时,将重新使用除数据库名称本身之外的连接字符串参数。



Expand Down Expand Up @@ -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]。 如果是这样,连接字符串参数将覆盖任何冲突的命令行选项。 此外,在连接到其他数据库时,将重新使用除数据库名称本身之外的连接字符串参数。



Expand Down
6 changes: 3 additions & 3 deletions EN/modules/ROOT/pages/9.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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

Expand Down Expand Up @@ -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

Expand Down
Loading