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 1n9wOQ-0007lx-OM for pgsql-hackers@arkaria.postgresql.org; Tue, 18 Jan 2022 21:51:54 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1n9wOP-0000gT-24 for pgsql-hackers@arkaria.postgresql.org; Tue, 18 Jan 2022 21:51:53 +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 1n9wOO-0000gH-P0 for pgsql-hackers@lists.postgresql.org; Tue, 18 Jan 2022 21:51:52 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1n9wOM-0006IQ-Fl for pgsql-hackers@lists.postgresql.org; Tue, 18 Jan 2022 21:51:51 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 20ILpmXa413539; Tue, 18 Jan 2022 16:51:48 -0500 From: Tom Lane To: David Steele cc: pgsql-hackers@lists.postgresql.org, Stephen Frost Subject: Re: Allow root ownership of client certificate key In-reply-to: <86a05828-6396-314a-58c8-45e50eb2cfb8@pgmasters.net> References: <20211108190405.GL20998@tamriel.snowman.net> <716ece6d-7500-8665-05f0-488e75c5525d@pgmasters.net> <377058.1642538462@sss.pgh.pa.us> <86a05828-6396-314a-58c8-45e50eb2cfb8@pgmasters.net> Comments: In-reply-to David Steele message dated "Tue, 18 Jan 2022 16:44:29 -0500" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <413537.1642542708.1@sss.pgh.pa.us> Date: Tue, 18 Jan 2022 16:51:48 -0500 Message-ID: <413538.1642542708@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk David Steele writes: > On 1/18/22 15:41, Tom Lane wrote: >> The only other nitpick I have is that I'd make the cross-references be >> to the two file names, ie like "Note that similar checks are performed >> in fe-secure-openssl.c ..." References to the specific functions seem >> likely to bit-rot in the face of future code rearrangements. >> I suppose filename references could become obsolete too, but it >> seems less likely. > It's true that functions are more likely to be renamed, but when I > rename a function I then search for all the places where it is used so I > can update them. If the function name appears in a comment that gets > updated as well. Harsh experience says that a lot of Postgres contributors have zero interest in updating comments two lines away from what they're editing, let alone in some distant branch of the source tree. But I'm not dead set on it either way. regards, tom lane