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

In pg_upgrade, check that the binary and data directories are the same

major version.

Backpatch to 9.1.

Dan McGee
This commit is contained in:
Bruce Momjian
2011-06-22 20:48:35 -04:00
parent c6635bd7ba
commit d9db32401c
2 changed files with 50 additions and 1 deletions

View File

@ -184,6 +184,7 @@ typedef struct
unsigned short port; /* port number where postmaster is waiting */
uint32 major_version; /* PG_VERSION of cluster */
char major_version_str[64]; /* string PG_VERSION of cluster */
uint32 bin_version; /* version returned from pg_ctl */
Oid pg_database_oid; /* OID of pg_database relation */
char *tablespace_suffix; /* directory specification */
} ClusterInfo;