Fix comment in indexing.c
authorMichael Paquier <[email protected]>
Wed, 17 Mar 2021 09:07:00 +0000 (18:07 +0900)
committerMichael Paquier <[email protected]>
Wed, 17 Mar 2021 09:07:00 +0000 (18:07 +0900)
578b229, that removed support for WITH OIDS, has changed
CatalogTupleInsert() to not return an Oid, but one comment was still
mentioning that.

Author: Vik Fearing
Discussion: https://postgr.es/m/fef01975-ed10-3601-7b9e-80ecef72d00b@postgresfriends.org

src/backend/catalog/indexing.c

index 284ceaa6b9c00852a0aa806306d50977466e49a0..4d1440cd3a9f7dbe42869f8b80690d9cc714e8ee 100644 (file)
@@ -210,7 +210,6 @@ CatalogTupleCheckConstraints(Relation heapRel, HeapTuple tup)
  * CatalogTupleInsert - do heap and indexing work for a new catalog tuple
  *
  * Insert the tuple data in "tup" into the specified catalog relation.
- * The Oid of the inserted tuple is returned.
  *
  * This is a convenience routine for the common case of inserting a single
  * tuple in a system catalog; it inserts a new heap tuple, keeping indexes