From: Vik Fearing <vik@postgresfriends.org>
To: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Cc: Andres Freund <andres@anarazel.de>
Subject: Code comment fix
Date: Wed, 17 Mar 2021 08:31:16 +0100
Message-ID: <fef01975-ed10-3601-7b9e-80ecef72d00b@postgresfriends.org> (raw)
When table oids were removed by commit 578b229718e, the function
CatalogTupleInsert() was modified to return void but its comment was
left intact. Here is a trivial patch to fix that.
--
Vik Fearing
Attachments:CatalogTupleInsert_comment.diff (text/x-patch, 622B) downloaddiff --git a/src/backend/catalog/indexing.c b/src/backend/catalog/indexing.cindex 284ceaa6b9..4d1440cd3a 100644--- a/src/backend/catalog/indexing.c+++ b/src/backend/catalog/indexing.c@@ -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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-hackers@postgresql.org
Cc: vik@postgresfriends.org, andres@anarazel.de
Subject: Re: Code comment fix
In-Reply-To: <fef01975-ed10-3601-7b9e-80ecef72d00b@postgresfriends.org>
References: <fef01975-ed10-3601-7b9e-80ecef72d00b@postgresfriends.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox