Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1ege3r-0008Dd-Gf for pgsql-bugs@arkaria.postgresql.org; Tue, 30 Jan 2018 22:07:27 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ege3q-0002xi-KB for pgsql-bugs@arkaria.postgresql.org; Tue, 30 Jan 2018 22:07:26 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1ege3q-0002xX-4L for pgsql-bugs@lists.postgresql.org; Tue, 30 Jan 2018 22:07:26 +0000 Received: from out3-smtp.messagingengine.com ([66.111.4.27]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1ege3n-0000G9-AG for pgsql-bugs@postgresql.org; Tue, 30 Jan 2018 22:07:24 +0000 Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id EF27621676; Tue, 30 Jan 2018 17:07:21 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute7.internal (MEProxy); Tue, 30 Jan 2018 17:07:21 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=tFN8Mv 2w4lAAabrwBMI9elU/qP2HPmHP2FHbDFUtngE=; b=IWaEQ7PuUWiwENHWlaBiCg qYkdEODhXWoqZu/tjCWglBgOSNbAkav1AtvI34pCKXBpfU2ZNHSNxwSm9PMxaL6C SeilT+6z8v7kOpklnSCrgc3iNyiBffY5mWbWvXhx9aYgFMUvIC51hEl8rUizFXTs umxpA8Pa3WsRxxDf1wG1fUi9ye/JtDQIbZGqQN41jynYvpPdlaLOGEhP17TaJgg1 ysGAU01DF7HKHznf5wgcSGoCvTKjR4KBWUGoozVrKpSbvxPpeaTJ86MeomqufvED DKGTEVnsfSX6bynTln2o4WS6tv8dgJ2vV72TPYoThVvK2B01/GqkvyBil4WW313w == X-ME-Sender: Received: from april.local (c-73-13-66-39.hsd1.pa.comcast.net [73.13.66.39]) by mail.messagingengine.com (Postfix) with ESMTPA id 96F30240DE; Tue, 30 Jan 2018 17:07:21 -0500 (EST) Subject: Re: pg_hba_file_rules: "scram-sha256" instead of "scram-sha-256" To: Michael Paquier , Christophe Courtois References: <20180126234428.GA1039@paquier.xyz> Cc: pgsql-bugs@postgresql.org From: Peter Eisentraut Organization: 2ndQuadrant Message-ID: Date: Tue, 30 Jan 2018 17:07:20 -0500 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 In-Reply-To: <20180126234428.GA1039@paquier.xyz> Content-Type: text/plain; charset=windows-1252 Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 1/26/18 18:44, Michael Paquier wrote: >> "scram-sha256" appears in commit c727f120 in src/backend/libpq/hba.c, >> while defining the array UserAuthName. >> >> Is it just a remnant of previous versions of the patch or is there a >> reason? > Attached is a patch for that. At the same time I have noticed that > protocol.sgml is using the same name, so I would suggest to fix that at > the same time. That introduces a small user-visible change when using > pg_hba_file_rules still that should be backpatched. Committed and backpatched, and I also fixed the names of the internal symbols analogously. -- Peter Eisentraut http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services