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

In pg_upgrade, verify that the install user has the same oid on both

clusters, and make sure the new cluster has no additional users.

Backpatch to 9.1.
This commit is contained in:
Bruce Momjian
2012-06-13 12:19:18 -04:00
parent 580b94168e
commit af97980b9a
3 changed files with 41 additions and 6 deletions

View File

@ -187,6 +187,8 @@ typedef struct
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 */
Oid install_role_oid; /* OID of connected role */
Oid role_count; /* number of roles defined in the cluster */
char *tablespace_suffix; /* directory specification */
} ClusterInfo;