Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit0451c09

Browse files
committed
Doc improvements.
1 parent15ca0a5 commit0451c09

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

‎contrib/pg_upgrade/pg_upgrade.man

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ version must be used.
1919
1) Back up your existing data directory, preferably by making a complete
2020
dump with pg_dumpall.
2121
.LP
22-
2) Copy the programpgsql/contrib/pg_upgrade/pg_upgrade from the current
23-
PostgreSQL distributionintosomewherein your path.
22+
2) Copy the program\fIpgsql/contrib/pg_upgrade/pg_upgrade\fP from the current
23+
PostgreSQL distribution somewhereinto your path.
2424
.LP
25-
3) Change your working directory to thepgsql main directory, and type:
25+
3) Change your working directory to the pgsql main directory, and type:
2626
.LP
2727
.B$pg_upgrade-1
2828
.sp
@@ -40,18 +40,18 @@ to install the new binaries.
4040
.br
4141
.B$makeinstall
4242
.sp
43-
to install thepg_resetxlog utility which is needed by
43+
to install the\fIpg_resetxlog\fP utility which is needed by
4444
pg_upgrade.
4545
.LP
4646
6) Run initdb to create a new template1 database containing the system
4747
tables for the new release. Make sure you use settings similar to those
4848
used in your previous version.
4949
.LP
50-
7) Start the newpostmaster. (Note: it is critical that no users connect
50+
7) Start the new\fIpostmaster.\fP (Note: it is critical that no users connect
5151
to the server until the upgrade is complete. You may wish to start the
52-
postmaster without -iand/or alter pg_hba.conf temporarily.)
52+
postmaster without -i or alter pg_hba.conf temporarily.)
5353
.LP
54-
8) Change your working directory to thepgsql main directory, and type:
54+
8) Change your working directory to the pgsql main directory, and type:
5555
.LP
5656
.B$pg_upgrade-2
5757
.sp
@@ -61,15 +61,15 @@ but with no data. It will then physically move the data files
6161
containing non-system tables and indexes into the proper
6262
subdirectories.
6363
.LP
64-
9) Restore your oldpg_hba.conf if needed to allow user logins.
64+
9) Restore your old\fIpg_hba.conf\fP if needed to allow user logins.
6565
.sp
6666
.LP
6767
10) Carefully examine the contents of the upgraded databases. If you
6868
detect problems, you'll need to recover by restoring from your full
69-
pg_dump backup. You can delete thepg_upgrade_info/ directory when you
69+
pg_dump backup. You can delete the\fIpg_upgrade_info/\fP directory when you
7070
are satisfied.
7171
.LP
7272
The upgraded databases will be in an un-vacuumed state. You will
73-
probably want to run aVACUUM ANALYZE before beginning production work.
73+
probably want to run a\fIVACUUMANALYZE\fBbeforebeginningproductionwork.
7474
.SH SEE ALSO
7575
initdb(1), postmaster(1), pg_dump(1), pg_dumpall(1), vacuumdb(1)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp