Skip to content

Commit e2665ef

Browse files
pg_upgrade: Mention that we preserve database OIDs in a comment.
Oversight in commit aa01051. Reported-by: Tom Lane <tgl@sss.pgh.pa.us> Discussion: https://postgr.es/m/4055696.1744134682%40sss.pgh.pa.us
1 parent 837cc73 commit e2665ef

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/bin/pg_upgrade/pg_upgrade.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@
3232
* We control all assignments of pg_authid.oid for historical reasons (the
3333
* oids used to be stored in pg_largeobject_metadata, which is now copied via
3434
* SQL commands), that might change at some point in the future.
35+
*
36+
* We control all assignments of pg_database.oid because we want the directory
37+
* names to match between the old and new cluster.
3538
*/
3639

3740

0 commit comments

Comments
 (0)