Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lMQeQ-0000Gq-28 for pgsql-hackers@arkaria.postgresql.org; Wed, 17 Mar 2021 07:31:30 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lMQeO-0007qH-St for pgsql-hackers@arkaria.postgresql.org; Wed, 17 Mar 2021 07:31:28 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lMQeO-0007qA-Lw for pgsql-hackers@lists.postgresql.org; Wed, 17 Mar 2021 07:31:28 +0000 Received: from relay3-d.mail.gandi.net ([217.70.183.195]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lMQeI-0001zQ-1Q for pgsql-hackers@lists.postgresql.org; Wed, 17 Mar 2021 07:31:27 +0000 X-Originating-IP: 79.88.149.14 Received: from [172.16.255.146] (14.149.88.79.rev.sfr.net [79.88.149.14]) (Authenticated sender: vik@postgresfriends.org) by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id B80EF60002; Wed, 17 Mar 2021 07:31:17 +0000 (UTC) To: PostgreSQL Hackers Cc: Andres Freund From: Vik Fearing Subject: Code comment fix Message-ID: Date: Wed, 17 Mar 2021 08:31:16 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------9F90859DF198F6CB5DBE7877" Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk This is a multi-part message in MIME format. --------------9F90859DF198F6CB5DBE7877 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit 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 --------------9F90859DF198F6CB5DBE7877 Content-Type: text/x-patch; charset=UTF-8; name="CatalogTupleInsert_comment.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="CatalogTupleInsert_comment.diff" diff --git a/src/backend/catalog/indexing.c b/src/backend/catalog/indexing.c index 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 --------------9F90859DF198F6CB5DBE7877--