aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2012-10-10 17:04:37 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2012-10-10 17:04:37 -0400
commit864db11683df44dae51f8f9fc8a4c124e100d2f3 (patch)
tree40ce70f6781117833fa3f685bc079d294c546d5b
parent8255566f9d479fdfeea09da3141d26afdbb5abe2 (diff)
downloadpostgresql-864db11683df44dae51f8f9fc8a4c124e100d2f3.tar.gz
postgresql-864db11683df44dae51f8f9fc8a4c124e100d2f3.zip
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.
-rw-r--r--src/backend/catalog/catalog.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/backend/catalog/catalog.c b/src/backend/catalog/catalog.c
index 2547f33552e..79b71b34912 100644
--- a/src/backend/catalog/catalog.c
+++ b/src/backend/catalog/catalog.c
@@ -472,10 +472,10 @@ GetNewOid(Relation relation)
*
* This is exported separately because there are cases where we want to use
* an index that will not be recognized by RelationGetOidIndex: TOAST tables
- * and pg_largeobject have indexes that are usable, but have multiple columns
- * and are on ordinary columns rather than a true OID column. This code
- * will work anyway, so long as the OID is the index's first column. The
- * caller must pass in the actual heap attnum of the OID column, however.
+ * have indexes that are usable, but have multiple columns and are on
+ * ordinary columns rather than a true OID column. This code will work
+ * anyway, so long as the OID is the index's first column. The caller must
+ * pass in the actual heap attnum of the OID column, however.
*
* Caller must have a suitable lock on the relation.
*/