Commit 38f3c7c4 authored by Bruce Momjian's avatar Bruce Momjian

Update pg_upgrade testing instructions.

parent cbf65509
...@@ -13,26 +13,26 @@ Here are the steps needed to create a regression database dump file: ...@@ -13,26 +13,26 @@ Here are the steps needed to create a regression database dump file:
This database can be created by running 'gmake installcheck' from This database can be created by running 'gmake installcheck' from
src/test/regression. src/test/regression.
2) Use pg_dump to dump out the regression database 2) Use pg_dump to dump out the regression database. Use the new
Use the new cluster's pg_dump on the old database to minimize cluster's pg_dump on the old database to minimize whitespace
whitespace differences in the diff. differences in the diff.
3) Adjust the regression database dump file 3) Adjust the regression database dump file
a) Change CREATE FUNCTION shared object paths to use '$libdir' a) Perform the load/dump twice
The old and new cluster will have different shared object paths.
d) Perform the load/dump twice
This fixes problems with the ordering of COPY columns for This fixes problems with the ordering of COPY columns for
inherited tables. inherited tables.
e) Fix any wrapping format differences b) Change CREATE FUNCTION shared object paths to use '$libdir'
The old and new cluster will have different shared object paths.
c) Fix any wrapping format differences
Commands like CREATE TRIGGER and ALTER TABLE sometimes have Commands like CREATE TRIGGER and ALTER TABLE sometimes have
differences. differences.
c) For pre-9.0, change CREATE OR REPLACE LANGUAGE to CREATE LANGUAGE d) For pre-9.0, change CREATE OR REPLACE LANGUAGE to CREATE LANGUAGE
b) For pre-9.0, remove 'regex_flavor' e) For pre-9.0, remove 'regex_flavor'
f) For pre-9.0, adjust extra_float_digits f) For pre-9.0, adjust extra_float_digits
Postgres 9.0 pg_dump uses extra_float_digits=-2 for pre-9.0 Postgres 9.0 pg_dump uses extra_float_digits=-2 for pre-9.0
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment