Skip to content

Commit 9fa8b0e

Browse files
committed
Move pg_upgrade from contrib/ to src/bin/
Reviewed-by: Michael Paquier <michael.paquier@gmail.com>
1 parent 30982be commit 9fa8b0e

32 files changed

+78
-82
lines changed

contrib/Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ SUBDIRS = \
3636
pg_test_fsync \
3737
pg_test_timing \
3838
pg_trgm \
39-
pg_upgrade \
4039
pgcrypto \
4140
pgrowlocks \
4241
pgstattuple \

contrib/pg_upgrade/Makefile

Lines changed: 0 additions & 34 deletions
This file was deleted.

doc/src/sgml/contrib.sgml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,6 @@ pages.
204204
&pgstandby;
205205
&pgtestfsync;
206206
&pgtesttiming;
207-
&pgupgrade;
208207
&pgxlogdump;
209208
</sect1>
210209
</appendix>

doc/src/sgml/filelist.sgml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,6 @@
136136
<!ENTITY pgtestfsync SYSTEM "pgtestfsync.sgml">
137137
<!ENTITY pgtesttiming SYSTEM "pgtesttiming.sgml">
138138
<!ENTITY pgtrgm SYSTEM "pgtrgm.sgml">
139-
<!ENTITY pgupgrade SYSTEM "pgupgrade.sgml">
140139
<!ENTITY pgxlogdump SYSTEM "pg_xlogdump.sgml">
141140
<!ENTITY postgres-fdw SYSTEM "postgres-fdw.sgml">
142141
<!ENTITY seg SYSTEM "seg.sgml">

doc/src/sgml/ref/allfiles.sgml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,7 @@ Complete list of usable sgml source files in this directory.
193193
<!ENTITY pgResetxlog SYSTEM "pg_resetxlog.sgml">
194194
<!ENTITY pgRestore SYSTEM "pg_restore.sgml">
195195
<!ENTITY pgRewind SYSTEM "pg_rewind.sgml">
196+
<!ENTITY pgupgrade SYSTEM "pgupgrade.sgml">
196197
<!ENTITY postgres SYSTEM "postgres-ref.sgml">
197198
<!ENTITY postmaster SYSTEM "postmaster.sgml">
198199
<!ENTITY psqlRef SYSTEM "psql-ref.sgml">

doc/src/sgml/pgupgrade.sgml renamed to doc/src/sgml/ref/pgupgrade.sgml

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- doc/src/sgml/pgupgrade.sgml -->
1+
<!-- doc/src/sgml/ref/pgupgrade.sgml -->
22

33
<refentry id="pgupgrade">
44
<indexterm zone="pgupgrade">
@@ -240,7 +240,8 @@ mv /usr/local/pgsql /usr/local/pgsql.old
240240
<title>Install the new PostgreSQL binaries</title>
241241

242242
<para>
243-
Install the new server's binaries and support files.
243+
Install the new server's binaries and support
244+
files. <application>pg_upgrade</> is included in a default installation.
244245
</para>
245246

246247
<para>
@@ -252,15 +253,6 @@ make prefix=/usr/local/pgsql.new install
252253
</programlisting></para>
253254
</step>
254255

255-
<step>
256-
<title>Install pg_upgrade</title>
257-
258-
<para>
259-
Install the <application>pg_upgrade</> binary in the new PostgreSQL
260-
installation.
261-
</para>
262-
</step>
263-
264256
<step>
265257
<title>Initialize the new PostgreSQL cluster</title>
266258

doc/src/sgml/reference.sgml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,7 @@
263263
&pgCtl;
264264
&pgResetxlog;
265265
&pgRewind;
266+
&pgupgrade;
266267
&postgres;
267268
&postmaster;
268269

src/bin/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ SUBDIRS = \
2323
pg_dump \
2424
pg_resetxlog \
2525
pg_rewind \
26+
pg_upgrade \
2627
pgbench \
2728
psql \
2829
scripts
File renamed without changes.

contrib/pg_upgrade/IMPLEMENTATION renamed to src/bin/pg_upgrade/IMPLEMENTATION

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
contrib/pg_upgrade/IMPLEMENTATION
2-
31
------------------------------------------------------------------------------
42
PG_UPGRADE: IN-PLACE UPGRADES FOR POSTGRESQL
53
------------------------------------------------------------------------------

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy