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
2 changes: 1 addition & 1 deletion CN/modules/ROOT/pages/9.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -2451,7 +2451,7 @@ pg_restore接受下列命令行参数。

- `-e` `--exit-on-error`

在发送 SQL 命令到该数据库期间如果碰到一个错误就退出。默认行为是继续并且在恢复结束时显示一个错误计数。
在发送 SQL 命令到该数据库期间如果碰到一个错误就退出。默认行为是继续并且在恢复结束时显示一个错误计数。若恢复结束时累计到错误,退出状态为 `1`。

- `-f *filename*` `--file=*filename*`

Expand Down
2 changes: 1 addition & 1 deletion EN/modules/ROOT/pages/9.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -2421,7 +2421,7 @@ Connect to database *`dbname`* and restore directly into the database. The *`dbn

- `-e` `--exit-on-error`

Exit if an error is encountered while sending SQL commands to the database. The default is to continue and to display a count of errors at the end of the restoration.
Exit if an error is encountered while sending SQL commands to the database. The default is to continue and to display a count of errors at the end of the restoration. A restore that reaches the end with errors exits with status `1`.

- `-f *`filename`*` `--file=*`filename`*`

Expand Down
Loading