Skip to content

Commit 57b0e78

Browse files
committed
align the path names
1 parent 5b042c0 commit 57b0e78

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

CN/modules/ROOT/pages/master/ecosystem_components/wal2json.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,16 +58,16 @@ pg_hba.conf不需要修改,有以下内容即可(仅限本地链接测试)
5858
在第一个终端中执行命令:
5959
[literal]
6060
----
61-
sudo -u ivorysql /home/ivorysql/ivy/inst/bin/pg_recvlogical -d postgres --slot wal2json_slot --create-slot -P wal2json
61+
sudo -u ivorysql /usr/ivory-5/bin/bin/pg_recvlogical -d postgres --slot wal2json_slot --create-slot -P wal2json
6262
6363
启动监听,实时输出变更的JSON格式
64-
sudo -u ivorysql /home/ivorysql/ivy/inst/bin/pg_recvlogical -d postgres --slot wal2json_slot --start -o pretty-print=1 -f -
64+
sudo -u ivorysql /usr/ivory-5/bin/bin/pg_recvlogical -d postgres --slot wal2json_slot --start -o pretty-print=1 -f -
6565
----
6666

6767
在第二个终端中连接数据库:
6868
[literal]
6969
----
70-
bin/psql -d postgres -p 1521
70+
/usr/ivory-5/bin/psql -d postgres -p 1521
7171
----
7272

7373
执行下面的SQL语句:

EN/modules/ROOT/pages/master/ecosystem_components/wal2json.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,16 +56,16 @@ Open the first terminal and execute command:
5656

5757
[literal]
5858
----
59-
sudo -u ivorysql /home/ivorysql/ivy/inst/bin/pg_recvlogical -d postgres --slot wal2json_slot --create-slot -P wal2json
59+
sudo -u ivorysql /usr/ivory-5/bin/pg_recvlogical -d postgres --slot wal2json_slot --create-slot -P wal2json
6060
6161
Start monitoring, output the changes in JSON format and in real time.
62-
sudo -u ivorysql /home/ivorysql/ivy/inst/bin/pg_recvlogical -d postgres --slot wal2json_slot --start -o pretty-print=1 -f -
62+
sudo -u ivorysql /usr/ivory-5/bin/pg_recvlogical -d postgres --slot wal2json_slot --start -o pretty-print=1 -f -
6363
----
6464

6565
Connect database in the second terminal:
6666
[literal]
6767
----
68-
bin/psql -d postgres -p 1521
68+
/usr/ivory-5/bin/psql -d postgres -p 1521
6969
----
7070

7171
Execute the following SQL statement:

0 commit comments

Comments
 (0)