99
1010 <para>
1111 <application>pg_upgrade</> (formerly called <application>pg_migrator</>) allows data
12- stored in <productname>PostgreSQL</> data files to be migrated to a later <productname>PostgreSQL</>
12+ stored in <productname>PostgreSQL</> data files to be upgraded to a later <productname>PostgreSQL</>
1313 major version without the data dump/reload typically required for
1414 major version upgrades, e.g. from 8.4.7 to the current major release
1515 of <productname>PostgreSQL</>. It is not required for minor version upgrades, e.g. from
@@ -227,7 +227,7 @@ gmake prefix=/usr/local/pgsql.new install
227227 Install any custom shared object files (or DLLs) used by the old cluster
228228 into the new cluster, e.g. <filename>pgcrypto.so</filename>, whether they are from <filename>contrib</filename>
229229 or some other source. Do not install the schema definitions, e.g.
230- <filename>pgcrypto.sql</>, because these will be migrated from the old cluster.
230+ <filename>pgcrypto.sql</>, because these will be upgraded from the old cluster.
231231 </para>
232232 </step>
233233
@@ -277,7 +277,7 @@ NET STOP pgsql-8.3 (<productname>PostgreSQL</> 8.3 and older used a different s
277277 <application>pg_upgrade</> requires the specification of the old and new cluster's
278278 data and executable (<filename>bin</>) directories. You can also specify separate
279279 user and port values, and whether you want the data linked instead of
280- copied (the default). If you use linking, the migration will be much
280+ copied (the default). If you use linking, the upgrade will be much
281281 faster (no data copying), but you will no longer be able to access your
282282 old cluster once you start the new cluster after the upgrade. See
283283 <literal>pg_upgrade --help</> for a full list of options.
@@ -303,15 +303,15 @@ pg_upgrade.exe
303303</programlisting>
304304
305305 Once started, <command>pg_upgrade</> will verify the two clusters are compatible
306- and then do the migration . You can use <command>pg_upgrade --check</>
306+ and then do the upgrade . You can use <command>pg_upgrade --check</>
307307 to perform only the checks, even if the old server is still
308308 running. <command>pg_upgrade --check</> will also outline any
309- manual adjustments you will need to make after the migration .
309+ manual adjustments you will need to make after the upgrade .
310310 <command>pg_upgrade</> requires write permission in the current directory.
311311 </para>
312312
313313 <para>
314- Obviously, no one should be accessing the clusters during the migration .
314+ Obviously, no one should be accessing the clusters during the upgrade .
315315 </para>
316316
317317 <para>
@@ -320,7 +320,7 @@ pg_upgrade.exe
320320 below. To try <command>pg_upgrade</command> again, you will need to modify the old
321321 cluster so the pg_upgrade schema restore succeeds. If the problem is a
322322 contrib module, you might need to uninstall the contrib module from
323- the old cluster and install it in the new cluster after the migration ,
323+ the old cluster and install it in the new cluster after the upgrade ,
324324 assuming the module is not being used to store user data.
325325 </para>
326326 </step>
@@ -335,13 +335,13 @@ pg_upgrade.exe
335335 </step>
336336
337337 <step>
338- <title>Post-migration processing</title>
338+ <title>Post-Upgrade processing</title>
339339
340340 <para>
341- If any post-migration processing is required, pg_upgrade will issue
341+ If any post-upgrade processing is required, pg_upgrade will issue
342342 warnings as it completes. It will also generate script files that must
343343 be run by the administrator. The script files will connect to each
344- database that needs post-migration processing. Each script should be
344+ database that needs post-upgrade processing. Each script should be
345345 run using:
346346
347347<programlisting>
@@ -368,7 +368,7 @@ psql --username postgres --file script.sql postgres
368368 <para>
369369 Because optimizer statistics are not transferred by <command>pg_upgrade</>, you will
370370 be instructed to run a command to regenerate that information at the end
371- of the migration .
371+ of the upgrade .
372372 </para>
373373 </step>
374374
@@ -419,9 +419,9 @@ psql --username postgres --file script.sql postgres
419419 to <filename>$PGDATA/global/pg_control</> and perhaps
420420 tablespace directories. To reuse the old cluster, remove
421421 the <filename>.old</> suffix
422- from <filename>$PGDATA/global/pg_control</>. and, if migrating
422+ from <filename>$PGDATA/global/pg_control</>. and, if upgrading
423423 to 8.4 or earlier, remove the tablespace directories created
424- by the migration and remove the <filename>.old</> suffix from
424+ by the upgrade and remove the <filename>.old</> suffix from
425425 the tablespace directory names; then you can restart the old
426426 cluster.
427427 </para>
@@ -434,12 +434,12 @@ psql --username postgres --file script.sql postgres
434434 </sect2>
435435
436436 <sect2>
437- <title>Limitations in Migrating <emphasis>from</> PostgreSQL 8.3</title>
437+ <title>Limitations in Upgrading <emphasis>from</> PostgreSQL 8.3</title>
438438
439439 <para>
440440 Upgrading from PostgreSQL 8.3 has additional restrictions not present
441441 when upgrading from later PostgreSQL releases. For example,
442- pg_upgrade will not work for a migration from 8.3 if a user column
442+ pg_upgrade will not work for upgrading from 8.3 if a user column
443443 is defined as:
444444 <itemizedlist>
445445 <listitem>
@@ -456,7 +456,7 @@ psql --username postgres --file script.sql postgres
456456 </para>
457457
458458 <para>
459- You must drop any such columns and migrate them manually.
459+ You must drop any such columns and upgrade them manually.
460460 </para>
461461
462462 <para>
@@ -507,29 +507,29 @@ psql --username postgres --file script.sql postgres
507507 <title>Notes</title>
508508
509509 <para>
510- <application>pg_upgrade</> does not support migration of databases
510+ <application>pg_upgrade</> does not support upgrading of databases
511511 containing these <type>reg*</> OID-referencing system data types:
512512 <type>regproc</>, <type>regprocedure</>, <type>regoper</>,
513513 <type>regoperator</>, <type>regclass</>, <type>regconfig</>, and
514- <type>regdictionary</>. (<type>regtype</> can be migrated .)
514+ <type>regdictionary</>. (<type>regtype</> can be upgraded .)
515515 </para>
516516
517517 <para>
518518 All failure, rebuild, and reindex cases will be reported by
519519 <application>pg_upgrade</> if they affect your installation;
520- post-migration scripts to rebuild tables and indexes will be
520+ post-upgrade scripts to rebuild tables and indexes will be
521521 generated automatically.
522522 </para>
523523
524524 <para>
525525 For deployment testing, create a schema-only copy of the old cluster,
526- insert dummy data, and migrate that.
526+ insert dummy data, and upgrade that.
527527 </para>
528528
529529 <para>
530530 If you want to use link mode and you don't want your old cluster
531531 to be modified when the new cluster is started, make a copy of the
532- old cluster and migrate that with link mode. To make a valid copy
532+ old cluster and upgrade that with link mode. To make a valid copy
533533 of the old cluster, use <command>rsync</> to create a dirty
534534 copy of the old cluster while the server is running, then shut down
535535 the old server and run <command>rsync</> again to update the copy with any
0 commit comments