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

Commite5dede9

Browse files
committed
doc: mention datadir locations are actually config locations
Technically, pg_upgrade's --old-datadir and --new-datadir areconfiguration directories, not necessarily data directories. This isreflected in the 'postgres' manual page, so do the same for pg_upgrade.Reported-by: Yves GoergenBug: 14898Discussion:https://postgr.es/m/20171110220912.31513.13322@wrigleys.postgresql.orgBackpatch-through: 10
1 parent3ccdc6f commite5dede9

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

‎doc/src/sgml/ref/pgupgrade.sgml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@
2424
<arg choice="plain"><option>-B</option></arg>
2525
<arg choice="plain"><replaceable>newbindir</replaceable></arg>
2626
<arg choice="plain"><option>-d</option></arg>
27-
<arg choice="plain"><replaceable>olddatadir</replaceable></arg>
27+
<arg choice="plain"><replaceable>oldconfigdir</replaceable></arg>
2828
<arg choice="plain"><option>-D</option></arg>
29-
<arg choice="plain"><replaceable>newdatadir</replaceable></arg>
29+
<arg choice="plain"><replaceable>newconfigdir</replaceable></arg>
3030
<arg rep="repeat"><replaceable>option</replaceable></arg>
3131
</cmdsynopsis>
3232
</refsynopsisdiv>
@@ -99,16 +99,16 @@
9999
</varlistentry>
100100

101101
<varlistentry>
102-
<term><option>-d</option> <replaceable>datadir</replaceable></term>
103-
<term><option>--old-datadir=</option><replaceable>datadir</replaceable></term>
104-
<listitem><para>the old clusterdata directory; environment
102+
<term><option>-d</option> <replaceable>configdir</replaceable></term>
103+
<term><option>--old-datadir=</option><replaceable>configdir</replaceable></term>
104+
<listitem><para>the olddatabaseclusterconfiguration directory; environment
105105
variable <envar>PGDATAOLD</envar></para></listitem>
106106
</varlistentry>
107107

108108
<varlistentry>
109-
<term><option>-D</option> <replaceable>datadir</replaceable></term>
110-
<term><option>--new-datadir=</option><replaceable>datadir</replaceable></term>
111-
<listitem><para>the new clusterdata directory; environment
109+
<term><option>-D</option> <replaceable>configdir</replaceable></term>
110+
<term><option>--new-datadir=</option><replaceable>configdir</replaceable></term>
111+
<listitem><para>the newdatabaseclusterconfiguration directory; environment
112112
variable <envar>PGDATANEW</envar></para></listitem>
113113
</varlistentry>
114114

@@ -476,7 +476,7 @@ pg_upgrade.exe
476476
<title>Save configuration files</title>
477477

478478
<para>
479-
Save any configuration files from the old standbys'data
479+
Save any configuration files from the old standbys'configuration
480480
directories you need to keep, e.g. <filename>postgresql.conf</filename>,
481481
<literal>recovery.conf</literal>, because these will be overwritten or
482482
removed in the next step.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp