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 1q00GX-0005Xl-4m for pgsql-hackers@arkaria.postgresql.org; Fri, 19 May 2023 13:35:29 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1q00GW-0008Eb-0M for pgsql-hackers@arkaria.postgresql.org; Fri, 19 May 2023 13:35: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 1q00GV-0008ER-Gd for pgsql-hackers@lists.postgresql.org; Fri, 19 May 2023 13:35:27 +0000 Received: from pitta.toroid.org ([136.243.148.74]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1q00GS-000g6j-3d for pgsql-hackers@postgresql.org; Fri, 19 May 2023 13:35:25 +0000 Received: from kathal.lweshal.in (unknown [10.2.1.2]) by pitta.toroid.org (Postfix) with ESMTP id 71D9CFA36BC; Fri, 19 May 2023 15:35:21 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=toroid.org; s=mail; t=1684503321; bh=wo4EeFLi/LQPBRtEMZ0M24saXEh+ayG20mYP7QHjsRQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=i2kOqDKdJL/gR3PsKgPVLKx83PjY03jSY+Jnw+ycVry92shMAMc7TUuPyk2pS1PeI c4ln+ICxUSxK+pb+eBnMAoC4gI6Zigb4lkg6Sd77wZ4cWy5PhJLjinmzikaYYs421p wraWucugh/VMIywdz57Juo8iscbl9s4Yax3QNC6VQXPVkVvfpEcaijWszfeyZjipeZ MXx57LNbBkV2ewLp54O8CsgJpWPWcI7VPVgU68DwH9Pdr9LxTb418AqAN67HIdkDoX d4BSGz2l45AE2yOPJnEE9aXc8nrTUv0+HFBKwTWnBmET8c8Zx8ECPlxuoR11FCe4p8 Yxc1h2uHaDiHA== Received: from ams by kathal.lweshal.in with local (Exim 4.96) (envelope-from ) id 1q00GN-009eMX-23; Fri, 19 May 2023 19:05:19 +0530 Date: Fri, 19 May 2023 19:05:19 +0530 From: Abhijit Menon-Sen To: Bruce Momjian Cc: Stephen Frost , pgsql-hackers@postgresql.org Subject: Re: Naming of gss_accept_deleg Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk At 2023-05-19 09:16:09 -0400, bruce@momjian.us wrote: > > On Fri, May 19, 2023 at 09:07:26AM -0400, Stephen Frost wrote: > > > > > Why is the new PG 16 GUC called "gss_accept_deleg" and not > > > "gss_accept_delegation"? The abbreviation here seems atypical. > > > > At the time it felt natural to me but I don't feel strongly about it, > > happy to change it if folks would prefer it spelled out. > > Yes, please do spell it out, thanks. The fact "deleg" looks similar to > "debug" also doesn't help. Note that GSS-API itself calls it the "DELEG" flag: if (conn->gcred != GSS_C_NO_CREDENTIAL) gss_flags |= GSS_C_DELEG_FLAG; I would also prefer a GUC named gss_accept_delegation, but the current name matches the libpq gssdeleg connection parameter and the PGSSDELEG environment variable. Maybe there's something to be said for keeping those three things alike? -- Abhijit