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 1egYAy-0001QM-Nv for pgsql-bugs@arkaria.postgresql.org; Tue, 30 Jan 2018 15:50:24 +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 1egYAx-0004WW-O1 for pgsql-bugs@arkaria.postgresql.org; Tue, 30 Jan 2018 15:50:23 +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 1egYAx-0004WN-F5 for pgsql-bugs@lists.postgresql.org; Tue, 30 Jan 2018 15:50:23 +0000 Received: from mail-wr0-x244.google.com ([2a00:1450:400c:c0c::244]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1egYAs-0000EU-Nm for pgsql-bugs@lists.postgresql.org; Tue, 30 Jan 2018 15:50:22 +0000 Received: by mail-wr0-x244.google.com with SMTP id y3so1833136wrh.3 for ; Tue, 30 Jan 2018 07:50:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=qmbHqjcrQZmH+7fNe66fprbJWGvgeVbTnx4qy1F1q20=; b=U97Gt2SKFZ05sfYMPmwfhcitmKiMGbMUtovJw9c3JX3K70xfkF7qJ27oqqRkzG5KEm ssfaGNNCS+dfOFwKcfEcXSgiXj+sMs7AnZ4NJvzxEbNlg0XeCK4egZbTwP6bIvIpufoy AJoy9Fzt/qNv/1mAMA9kznq67hITjeJ09fFJzmTysCBGXxMhOIs0ALZtGT+g//gTpCEn FU/CXr0naYkI0gaahfX4Zjr6cRgiw1tB3yYroeQdgGz59smYlVo2vMR8C7PzxvB5FJ+3 RwgJzznArwWmZk1qwHSeIuP9++DoHbAPrz/zGatq9QmBuz6qhpUUBmnXIfDbdW5EJtb6 mUzA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=qmbHqjcrQZmH+7fNe66fprbJWGvgeVbTnx4qy1F1q20=; b=jJTqYamphPsKCkNiX+Mza4DwXLYMqUkB91GBUZAEP7X4ledGBljLipSWBQqe19djcy NPpTybUz+wpWX9XieQCZ3J7F2jiyA/IWF03iC3V1DVlsXZNLVbj4fy5bERTXPKV6X1WV XR8YUgTQJahAo86c4lk0pud2Ae4Pj8H+OAjg4+ZlbrDvcqETCakTncMDk0DjMoF1KMej TYgXtu+pSCCrTi1dfh6uLQ+kjqYb3F+0CqrBn6G9k//jQ2jZqvLnwEnajtmxkmTU5BLA A8CDB20LYPm72TSXSdbA6nbQBhTip5Xl1wlGUZ5+SbaXhGDF4qIC8OmQA2K/v8TyKlge 52Ww== X-Gm-Message-State: AKwxyteGgu4Tv8umIXJHN9GeNnyP775lbi66oh7icy3j/b9O1rw63HD9 vo19TjaNcqdKOcv+cKBhVHoZBU9caIAFweS5jmD+pMB44lhKAbkl4tIYUogGpCy8PEbMap0hj0B /iTAwTmtLdu/mezMDMScJJWu9MYgDVTuES+Z1RCC5GsSP5emTieMLZ+aI11TWqzVSKfB+/D8nyd 1zn2qogYLhClue X-Google-Smtp-Source: AH8x226T0i3ElgmXCjPmIh61rtHW1hgFJjtcB5f5nxEOSLxOONwIx9UxOD12ZlQlSCAJ7+HKL9pykg== X-Received: by 10.223.190.15 with SMTP id n15mr23274829wrh.38.1517327416343; Tue, 30 Jan 2018 07:50:16 -0800 (PST) Received: from [10.137.2.19] (ip-78-102-97-226.net.upcbroadband.cz. [78.102.97.226]) by smtp.gmail.com with ESMTPSA id n24sm15895006wmi.21.2018.01.30.07.50.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 30 Jan 2018 07:50:15 -0800 (PST) Subject: Re: BUG #15035: scram-sha-256 blocks all logins To: Meirav Rath , "David G. Johnston" Cc: Daniel Gustafsson , "pgsql-bugs@lists.postgresql.org" References: <151723922191.1238.12656996435976596418@wrigleys.postgresql.org> <660079bb-b468-f41f-928e-1b3a46e17ae9@2ndquadrant.com> <35A53566-4884-496B-BA64-CE8CECABF48B@yesql.se> From: Tomas Vondra Message-ID: Date: Tue, 30 Jan 2018 16:50:13 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 01/30/2018 03:37 PM, Meirav Rath wrote: > Actually, my job is to test our products’ compatibility with 13 > databases, PostgreSQL is one of them. I see a /lot /of documentation > and so far PostgreSQL has been relatively friendly. > > However, this very roundabout way of saying things, so much so that > you need to ask a PostgreSQL person how to interpret the phrasing is > not user-friendly. After I’m done with PostgreSQL 10 new features’ > testing, I’m moving on to test other databases’ new versions and > their features. > Great response to people who're helping you with your job for free. Now consider that you've submitted something that is not a bug but an issue with configuring pg_hba.conf properly. Generally, a bug report requires some explanation of why the configuration is correct and what the behavior should be. We do see plenty of people posting such non-bug questions to psql-bugs and we're somewhat annoyed by that. Most people however take the hint and post the question to pgsql-general when asked to do so, instead of attacking the people who are actually trying to help them. I agree getting pg_hba.conf right is not simple, particularly if you do it for the first time. But I don't see anything wrong with it, and you don't explain what a better/simpler solution would look like. You'd have to learn how any other solution works anyway - the principles would be the same. But complaining is simpler, I guess ... What I find particularly strange is your response to David quoting the documentation. Pointing you to the proper part of the docs is about the best thing he could have done, the paragraph is technically accurate, provides additional context about how pg_hba.conf works, and copying it is much faster than typing the explanation by hand. This is a mailing list and terse response are expected. > If I was a DBA whose company considered moving to work with > PostgreSQL, and I saw this obscure phrasing, and the clumsiness to > this code, I’d tell my bosses to think twice about PostgreSQL and > maybe try a sturdier database. That's up to you. But perhaps your boss will see it differently. regards -- Tomas Vondra http://www.2ndQuadrant.com PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services