1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-30 11:03:19 +03:00

In pg_upgrade, don't copy visibility map files from clusters that did not

have crash-safe visibility maps to clusters that expect crash-safety.

Request from Robert Haas.
This commit is contained in:
Bruce Momjian
2011-08-19 11:20:30 -04:00
parent ffaf9eca4c
commit 00a7c9014a
2 changed files with 22 additions and 2 deletions

View File

@ -64,6 +64,12 @@
#define TABLE_SPACE_SUBDIRS_CAT_VER 201001111
/* postmaster/postgres -b (binary_upgrade) flag added during PG 9.1 development */
#define BINARY_UPGRADE_SERVER_FLAG_CAT_VER 201104251
/*
* Visibility map changed with this 9.2 commit,
* 8f9fe6edce358f7904e0db119416b4d1080a83aa; pick later catalog version.
*/
#define VISIBILITY_MAP_CRASHSAFE_CAT_VER 201107031
/*
* Each relation is represented by a relinfo structure.