Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dFRt8-0001dZ-1Y for pgsql-bugs@arkaria.postgresql.org; Mon, 29 May 2017 21:07:42 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dFRt7-0001uR-KT for pgsql-bugs@arkaria.postgresql.org; Mon, 29 May 2017 21:07:41 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dFRsP-00083F-Fn for pgsql-bugs@postgresql.org; Mon, 29 May 2017 21:06:57 +0000 Received: from mail-qt0-x22e.google.com ([2607:f8b0:400d:c0d::22e]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1dFRsM-000718-18 for pgsql-bugs@postgresql.org; Mon, 29 May 2017 21:06:56 +0000 Received: by mail-qt0-x22e.google.com with SMTP id c13so57304879qtc.1 for ; Mon, 29 May 2017 14:06:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=AX8e3JBL6Ixo/f3wmKoqi5obTzmlw/N4eq0yEtGP1Ts=; b=mLXUQqHRtLE16tb3wZueHQlzF/Qbbcx/Iq4VonJgfmSl0b8qxuJIJeMpIZdyK27wMi zDZzSiALoNQPBevCZFNaP/uZIhz+xpz9Joj3QvFJHwEuhXw2AF0IoMLPa8yXJVm2Ob5O JBLHwXG8n084qmfGXKMSp+Zuy6PnpdYbu6LwgAbEJZKV0Bw76xwO0pkG5utw8te3Phpv SKmVA8DdMtCd5rcr9/O1/fVMBGRKZ7tcwg3vYVWDEsoLOUZLd3EARGgsrLgEDCuOCKZw vIVZrXQ/S81uy0fY3Ofbi/Dm/PjSZsU7khiqJIdExkRmMvlxouEZf4Xph2ltMj7X4msH +/LQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=AX8e3JBL6Ixo/f3wmKoqi5obTzmlw/N4eq0yEtGP1Ts=; b=CtEflQYb6hyv/+T0RCAi8jN9fgXKRI8XqaK29J7ullIAa3GEmkHD+yBvwsuvRgz7KO HURdgvvcqBfBJPHQ4VNO2jwVAquFo1ykYjnPVGdOVdRmjAdHEF0nkyx3D+rZ/lABvnCk /0Uz4QkHCF9q9y++lrr7L/dG7dtNxIID/sD/4vr1Jkg5Ne0nhaY+KNqGDhL2Q96yqoqB T+X1d0TuxG6i93XQzRa5O042Lf9Qdyj8g7ZXB0p921MEwHcVBzBAgdoVHnKRJzp41Qk3 ol5ejslb6qB95Dy+d78QcTUUUWHgrxCSG5esLD0dY5EN+3QHzbAzI35eQtwmFqZMHCqm 0PPg== X-Gm-Message-State: AODbwcCJ6sjvFg+nZGcYPcw9CSwc59U7EZ2AHOUtC8isuF2q7IiHfxI7 DMs2nqrje4iLb7EE X-Received: by 10.237.60.207 with SMTP id e15mr22085804qtf.106.1496092012325; Mon, 29 May 2017 14:06:52 -0700 (PDT) Received: from alvin.alvh.no-ip.org ([179.57.115.10]) by smtp.gmail.com with ESMTPSA id 16sm6989059qkl.51.2017.05.29.14.06.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 29 May 2017 14:06:52 -0700 (PDT) Received: by alvin.alvh.no-ip.org (Postfix, from userid 1000) id 014BD22DD; Mon, 29 May 2017 17:06:49 -0400 (-04) Date: Mon, 29 May 2017 17:06:49 -0400 From: Alvaro Herrera To: Michael Paquier Cc: Daniele Varrazzo , pgsql-bugs Subject: Re: [PATCH] Fixed malformed error message on malformed SCRAM message. Message-ID: <20170529210649.ayz5hnilprnggvut@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: NeoMutt/20170306-137-4415bd-dirty (1.8.0) X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org Michael Paquier wrote: > On Mon, May 29, 2017 at 1:43 PM, Alvaro Herrera > wrote: > > Daniele Varrazzo wrote: > >> Patch attached > > > > Uh, shouldn't the parenthical comment be errdetail()? > > FWIW, this did not strike me as necessary for this one as well all the > other error messages in auth-scram.c as the main error strings are > short, and the extra information looked adapted as part of the main > error message. To me this sounds like you're uttering "beetlejuice" thrice to summon the message-style police. These messages look all wrong to me. -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs