Skip to content

Commit 36782fd

Browse files
committed
README.rpm-dist: minor doc updates
* README.rpm-dist: scls don't need the *-upgrade package installed since scls are parallel installable. Mention that 10.1 -> 10.5 update is not a major update anymore with new versioning scheme.
1 parent 942ac47 commit 36782fd

File tree

1 file changed

+13
-10
lines changed

1 file changed

+13
-10
lines changed

README.rpm-dist.template

+13-10
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,8 @@ m4_divert[]m4_dnl
9090
<para>
9191
The file @POSTGRES_HOMEDIR@/.bash_profile is packaged to help with the
9292
setting of environment variables. You may edit this file, and it won't be
93-
overwritten during an upgrade. However, enhancements and bugfixes may be
94-
added to this file, so be sure to check .bash_profile.rpmnew after
93+
overwritten during a package upgrade. However, enhancements and bugfixes
94+
may be added to this file, so be sure to check .bash_profile.rpmnew after
9595
upgrading.
9696
</para>
9797

@@ -102,7 +102,6 @@ m4_divert[]m4_dnl
102102
has no default password, so the only way to become this user is to su to it
103103
from root. If you want to be able to su to it from a non-root account or
104104
log in directly as 'postgres' you will need to set a password using passwd.
105-
Test section 2.
106105
</para>
107106

108107
</sect1>
@@ -111,10 +110,11 @@ m4_divert[]m4_dnl
111110
<title>UPGRADING AN INSTALLATION</title>
112111

113112
<para>
114-
For a minor-version upgrade (such as 9.3.1 to 9.3.4; last number changes),
115-
just install the new RPMs; there's usually nothing more to it than that.
113+
For a minor-version upgrade (such as 9.3.1 to 9.3.4 for versions
114+
&lt; 10, or 10.1 to 10.5 for versions &gt;= 10; last number changes), just
115+
install the new RPMs; there's usually nothing more to it than that.
116116
Upgrading across a major release of PostgreSQL (for example, from 9.2.x to
117-
9.3.x) requires more effort.
117+
9.3.x or from 10 to 11) requires more effort.
118118
</para>
119119

120120
<para>
@@ -148,8 +148,8 @@ m4_divert[]m4_dnl
148148
</listitem>
149149
<listitem>
150150
<para>
151-
install the new version's RPMs (install all the ones you had before,
152-
plus @NAME_PACKAGE@-upgrade)
151+
install the new version's RPMs (install all the ones you had
152+
before[]m4_ifelse([@SCL_SOURCE@],[:],[, plus @NAME_PACKAGE@-upgrade]))
153153
</para>
154154
</listitem>
155155
<listitem>
@@ -172,8 +172,9 @@ m4_divert[]m4_dnl
172172
</listitem>
173173
<listitem>
174174
<para>
175-
the @NAME_PACKAGE@-upgrade package can be removed after the update is
176-
complete, as can old data directory
175+
the old data directory can be removed after the update is
176+
complete[]m4_ifelse([@SCL_SOURCE@], [:],
177+
[, as can @NAME_PACKAGE@-upgrade package])
177178
</para>
178179
</listitem>
179180
</orderedlist>
@@ -219,10 +220,12 @@ m4_ifelse([@LIBS_ENABLED@],[yes], [
219220
<entry>@NAME_PACKAGE@-test:</entry>
220221
<entry>The regression tests and associated files</entry>
221222
</row>
223+
m4_ifelse([@SCL_SOURCE@], [:], [], [
222224
<row>
223225
<entry>@NAME_PACKAGE@-upgrade:</entry>
224226
<entry>Support files for upgrading from previous major version</entry>
225227
</row>
228+
])
226229
<row>
227230
<entry>@NAME_PACKAGE@-docs:</entry>
228231
<entry>Full documentation in HTML and PDF, the tutorial files</entry>

0 commit comments

Comments
 (0)