diff --git a/CN/modules/ROOT/pages/9.adoc b/CN/modules/ROOT/pages/9.adoc index 2432ee47..90db269f 100644 --- a/CN/modules/ROOT/pages/9.adoc +++ b/CN/modules/ROOT/pages/9.adoc @@ -2451,7 +2451,7 @@ pg_restore接受下列命令行参数。 - `-e` `--exit-on-error` -在发送 SQL 命令到该数据库期间如果碰到一个错误就退出。默认行为是继续并且在恢复结束时显示一个错误计数。 +在发送 SQL 命令到该数据库期间如果碰到一个错误就退出。默认行为是继续并且在恢复结束时显示一个错误计数。若恢复结束时累计到错误,退出状态为 `1`。 - `-f *filename*` `--file=*filename*` diff --git a/EN/modules/ROOT/pages/9.adoc b/EN/modules/ROOT/pages/9.adoc index d4b420c6..e6b37a36 100644 --- a/EN/modules/ROOT/pages/9.adoc +++ b/EN/modules/ROOT/pages/9.adoc @@ -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`*`