Skip to content

Commit 8e3b088

Browse files
committed
Correct some erroneous content
1 parent afb328c commit 8e3b088

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

CN/modules/ROOT/pages/master/operation_guide.adoc

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -174,9 +174,6 @@ pg_upgrade https://www.postgresql.org/docs/current/pgupgrade.html[文档]概述
174174
----
175175
# 使用 IvorySQL 的 initdb 初始化新集群
176176
/opt/ivorysql/bin/initdb -D /data/ivorysql/data
177-
178-
# 停止新集群
179-
/opt/ivorysql/bin/pg_ctl -D /data/ivorysql/data stop
180177
----
181178

182179
==== 第二步:停止源 PostgreSQL 集群
@@ -220,7 +217,7 @@ pg_upgrade https://www.postgresql.org/docs/current/pgupgrade.html[文档]概述
220217
/opt/ivorysql/bin/pg_ctl -D /data/ivorysql/data start
221218
222219
# 验证数据库是否正常
223-
/opt/ivorysql/bin/psql -p 5433 -c "SELECT version();"
220+
/opt/ivorysql/bin/psql -p 5432 -c "SELECT version();"
224221
----
225222

226223
==== 第六步:清理旧集群

EN/modules/ROOT/pages/master/operation_guide.adoc

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -164,9 +164,6 @@ Upgrading from PostgreSQL to IvorySQL is considered a "cross-product" migration.
164164
----
165165
# Use IvorySQL's initdb to initialize the new cluster
166166
/opt/ivorysql/bin/initdb -D /data/ivorysql/data
167-
168-
# Stop the new cluster
169-
/opt/ivorysql/bin/pg_ctl -D /data/ivorysql/data stop
170167
----
171168

172169
==== Step 2: Stop the source PostgreSQL cluster
@@ -210,7 +207,7 @@ Use `-c` to perform compatibility checks only without modifying any data:
210207
/opt/ivorysql/bin/pg_ctl -D /data/ivorysql/data start
211208
212209
# Verify if the database is functioning properly
213-
/opt/ivorysql/bin/psql -p 5433 -c "SELECT version();"
210+
/opt/ivorysql/bin/psql -p 5432 -c "SELECT version();"
214211
----
215212

216213
==== Step 6: Clean up the old cluster

0 commit comments

Comments
 (0)