|
72 | 72 | * Object ID (OID) zero is InvalidOid.
|
73 | 73 | *
|
74 | 74 | * OIDs 1-9999 are reserved for manual assignment (see .dat files in
|
75 |
| - * src/include/catalog/), with 9000-9999 tentatively reserved for forks. |
| 75 | + * src/include/catalog/). Of these, 8000-9999 are reserved for |
| 76 | + * development purposes (such as in-progress patches and forks); |
| 77 | + * they should not appear in released versions. |
76 | 78 | *
|
77 |
| - * OIDs 10000-11999 are reserved for assignment by genbki.pl, when the |
78 |
| - * .dat files in src/include/catalog/ do not specify oids. |
| 79 | + * OIDs 10000-11999 are reserved for assignment by genbki.pl, for use |
| 80 | + * when the .dat files in src/include/catalog/ do not specify an OID |
| 81 | + * for a catalog entry that requires one. |
79 | 82 | *
|
80 | 83 | * OIDS 12000-16383 are reserved for assignment during initdb
|
81 | 84 | * using the OID generator. (We start the generator at 12000.)
|
|
84 | 87 | * during normal multiuser operation. (We force the generator up to
|
85 | 88 | * 16384 as soon as we are in normal operation.)
|
86 | 89 | *
|
87 |
| - * The choices of 10000, 12000 and 16384 are completely arbitrary, and can be |
88 |
| - * moved if we run low on OIDs in either category. Changing the macros below |
89 |
| - * should be sufficient to do this. |
| 90 | + * The choices of 8000, 10000 and 12000 are completely arbitrary, and can be |
| 91 | + * moved if we run low on OIDs in any category. Changing the macros below, |
| 92 | + * and updating relevant documentation (see bki.sgml and RELEASE_CHANGES), |
| 93 | + * should be sufficient to do this. Moving the 16384 boundary between |
| 94 | + * initdb-assigned OIDs and user-defined objects would be substantially |
| 95 | + * more painful, however, since some user-defined OIDs will appear in |
| 96 | + * on-disk data; such a change would probably break pg_upgrade. |
90 | 97 | *
|
91 | 98 | * NOTE: if the OID generator wraps around, we skip over OIDs 0-16383
|
92 | 99 | * and resume with 16384. This minimizes the odds of OID conflict, by not
|
|
0 commit comments