mirror of
https://github.com/postgres/postgres.git
synced 2025-10-25 13:17:41 +03:00
Improve C comments about backend variables set by pg_upgrade_support
functions.
This commit is contained in:
@@ -74,6 +74,7 @@ typedef struct
|
||||
/* atts[] is of allocated length RelationGetNumberOfAttributes(rel) */
|
||||
} RelToCheck;
|
||||
|
||||
/* Potentially set by contrib/pg_upgrade_support functions */
|
||||
Oid binary_upgrade_next_pg_type_array_oid = InvalidOid;
|
||||
|
||||
static Oid findTypeInputFunction(List *procname, Oid typeOid);
|
||||
@@ -1517,7 +1518,7 @@ AssignTypeArrayOid(void)
|
||||
{
|
||||
Oid type_array_oid;
|
||||
|
||||
/* Pre-assign the type's array OID for use in pg_type.typarray */
|
||||
/* Use binary-upgrade override for pg_type.typarray, if supplied. */
|
||||
if (OidIsValid(binary_upgrade_next_pg_type_array_oid))
|
||||
{
|
||||
type_array_oid = binary_upgrade_next_pg_type_array_oid;
|
||||
|
||||
Reference in New Issue
Block a user