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 1q15qF-0001ew-4J for pgsql-hackers@arkaria.postgresql.org; Mon, 22 May 2023 13:44:51 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1q15qE-0001fH-3g for pgsql-hackers@arkaria.postgresql.org; Mon, 22 May 2023 13:44:50 +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 1q15qD-0001ep-KA for pgsql-hackers@lists.postgresql.org; Mon, 22 May 2023 13:44:49 +0000 Received: from pitta.toroid.org ([2a01:4f8:171:16c9::2]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1q15qA-001Day-9p for pgsql-hackers@postgresql.org; Mon, 22 May 2023 13:44:48 +0000 Received: from kathal.lweshal.in (unknown [10.2.1.2]) by pitta.toroid.org (Postfix) with ESMTP id 6248CFA3686; Mon, 22 May 2023 15:44:42 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=toroid.org; s=mail; t=1684763082; bh=3w0JkPP+kY/1n6zBNoZttKuvhbUxTpDZjGKl7aw9/J4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=dEo/K8ooG4B2yirQu9Ahf1Qoskaw7rvxHey67D9yudfshRpH2BD1dBytCKIv2kKuK fN9E2znTgQjnFpKuwiemRxMaXki9tBAIQkY1+bldaYGp1wcWUsx9KidRP/KxX+n4B9 Zldoyj+DBKDPqImJBxNi/dOqqIz9h/0YedN5VANzswLY3Z3GAo31q4KWYIJ0ag6X1i eKoPnvK0VM++dhV7Plbyo2uLRUbvMY+A6XA7Oh3QNryNnn1yW0d/KegweOkkrWpJz0 ybDf9D3hKhzPAT4GaXpm7Jtl5K9gudN3zU1/xnKzbPC1cM7vZjug2wUROK68epnVQB zxez9JcmhApKw== Received: from ams by kathal.lweshal.in with local (Exim 4.96) (envelope-from ) id 1q15q4-000IWn-0x; Mon, 22 May 2023 19:14:40 +0530 Date: Mon, 22 May 2023 19:14:40 +0530 From: Abhijit Menon-Sen To: Tom Lane Cc: Alvaro Herrera , Stephen Frost , Nathan Bossart , Bruce Momjian , pgsql-hackers@postgresql.org Subject: Re: Naming of gss_accept_deleg Message-ID: References: <20230522091609.nlyuu4nolhycqs2p@alvherre.pgsql> <593432.1684762964@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <593432.1684762964@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk At 2023-05-22 09:42:44 -0400, tgl@sss.pgh.pa.us wrote: > > Alvaro Herrera writes: > > I noticed that the value that enables this feature at libpq client side > > is 'enable'. However, for other Boolean settings like sslsni, > > keepalives, requiressl, sslcompression, the value that enables feature > > is '1' -- we use strings only for "enum" type of settings. > > > Also, it looks like connectOptions2() doesn't validate the string value. > > Hmm, it certainly seems like this ought to accept exactly the > same inputs as other libpq boolean settings. I can take a look > unless somebody else is already on it. I'm working on it. -- Abhijit