diff options
author | Nathan Bossart | 2025-04-09 19:27:08 +0000 |
---|---|---|
committer | Nathan Bossart | 2025-04-09 19:27:08 +0000 |
commit | e2665efd0f4d2ae90d3245f9425d379d75c66645 (patch) | |
tree | 26f052de0f6850502d0a592e3331ef14eb7e057d | |
parent | 837cc73af29cd9c63515a6f2a36f54dd703a3a3f (diff) |
pg_upgrade: Mention that we preserve database OIDs in a comment.
Oversight in commit aa01051418.
Reported-by: Tom Lane <[email protected]>
Discussion: https://postgr.es/m/4055696.1744134682%40sss.pgh.pa.us
-rw-r--r-- | src/bin/pg_upgrade/pg_upgrade.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/bin/pg_upgrade/pg_upgrade.c b/src/bin/pg_upgrade/pg_upgrade.c index 72b5a5fde5a..d9db48dba0d 100644 --- a/src/bin/pg_upgrade/pg_upgrade.c +++ b/src/bin/pg_upgrade/pg_upgrade.c @@ -32,6 +32,9 @@ * We control all assignments of pg_authid.oid for historical reasons (the * oids used to be stored in pg_largeobject_metadata, which is now copied via * SQL commands), that might change at some point in the future. + * + * We control all assignments of pg_database.oid because we want the directory + * names to match between the old and new cluster. */ |