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: 5 additions & 1 deletion CN/modules/ROOT/pages/9.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -2305,7 +2305,7 @@ pg_recvlogical — 控制 IvorySQL 逻辑解码流

- `--create-slot`

为 `--dbname` 指定的数据库用 `--slot` 指定的名称创建一个新的逻辑复制槽,使用 `--plugin` 指定的输出插件。
为 `--dbname` 指定的数据库用 `--slot` 指定的名称创建一个新的逻辑复制槽,使用 `--plugin` 指定的输出插件。 可以同时指定 `-t` 或 `--enable-two-phase`,以启用对已准备事务的解码;旧选项 `--two-phase` 已弃用,但仍作为别名保留。

- `--drop-slot`

Expand Down Expand Up @@ -2361,6 +2361,10 @@ pg_recvlogical — 控制 IvorySQL 逻辑解码流

在 `--start` 模式中,使用名为 *`slot_name`* 的已有逻辑复制槽。在 `--create-slot` 模式中,使用这个名称 创建该槽。在 `--drop-slot` 模式中,删除这个名称指定的槽。

- `-t` `--enable-two-phase`

启用对已准备事务的解码。此选项只能与 `--create-slot` 一起指定。旧选项 `--two-phase` 已弃用,但仍作为别名保留。

- `-v` `--verbose`

开启详细输出模式。
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 @@ -2279,7 +2279,7 @@ At least one of the following options must be specified to select an action:

- `--create-slot`

Create a new logical replication slot with the name specified by `--slot`, using the output plugin specified by `--plugin`, for the database specified by `--dbname`.The `--two-phase` can be specified with `--create-slot` to enable decoding of prepared transactions.
Create a new logical replication slot with the name specified by `--slot`, using the output plugin specified by `--plugin`, for the database specified by `--dbname`. Specify `-t` or `--enable-two-phase` with `--create-slot` to enable decoding of prepared transactions. The older `--two-phase` spelling is deprecated and retained as an alias.

- `--drop-slot`

Expand Down Expand Up @@ -2333,9 +2333,9 @@ This option has the same effect as the option of the same name in http://www.pos

In `--start` mode, use the existing logical replication slot named *`slot_name`*. In `--create-slot` mode, create the slot with this name. In `--drop-slot` mode, delete the slot with this name.

- `-t` `--two-phase`
- `-t` `--enable-two-phase`

Enables decoding of prepared transactions. This option may only be specified with `--create-slot`
Enables decoding of prepared transactions. This option may only be specified with `--create-slot`. The older `--two-phase` spelling is deprecated and retained as an alias.

- `-v` `--verbose`

Expand Down
Loading