mirror of
https://github.com/postgres/postgres.git
synced 2025-07-30 11:03:19 +03:00
Update obsolete comment.
We no longer use GetNewOidWithIndex on pg_largeobject; rather, pg_largeobject_metadata's regular OID column is considered the repository of OIDs for large objects. The special functionality is still needed for TOAST tables however.
This commit is contained in:
@ -472,10 +472,10 @@ GetNewOid(Relation relation)
|
|||||||
*
|
*
|
||||||
* This is exported separately because there are cases where we want to use
|
* This is exported separately because there are cases where we want to use
|
||||||
* an index that will not be recognized by RelationGetOidIndex: TOAST tables
|
* an index that will not be recognized by RelationGetOidIndex: TOAST tables
|
||||||
* and pg_largeobject have indexes that are usable, but have multiple columns
|
* have indexes that are usable, but have multiple columns and are on
|
||||||
* and are on ordinary columns rather than a true OID column. This code
|
* ordinary columns rather than a true OID column. This code will work
|
||||||
* will work anyway, so long as the OID is the index's first column. The
|
* anyway, so long as the OID is the index's first column. The caller must
|
||||||
* caller must pass in the actual heap attnum of the OID column, however.
|
* pass in the actual heap attnum of the OID column, however.
|
||||||
*
|
*
|
||||||
* Caller must have a suitable lock on the relation.
|
* Caller must have a suitable lock on the relation.
|
||||||
*/
|
*/
|
||||||
|
Reference in New Issue
Block a user