Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cmAwH-0002SQ-M6 for pgsql-committers@arkaria.postgresql.org; Fri, 10 Mar 2017 03:09:57 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1cmAwH-0005JY-8w for pgsql-committers@arkaria.postgresql.org; Fri, 10 Mar 2017 03:09:57 +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 1cmAw2-0004uQ-WC for pgsql-committers@postgresql.org; Fri, 10 Mar 2017 03:09:43 +0000 Received: from mail-qk0-x233.google.com ([2607:f8b0:400d:c09::233]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1cmAvy-0002GP-EH for pgsql-committers@postgresql.org; Fri, 10 Mar 2017 03:09:42 +0000 Received: by mail-qk0-x233.google.com with SMTP id y76so150401783qkb.0 for ; Thu, 09 Mar 2017 19:09:38 -0800 (PST) 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=sl2QbYWuuYAQ+ZNjzfkZre7Zj1YRzCcN3wF3YnK6CoQ=; b=UfaQY7AuZdDF1/rGaiL4m1mmPVtWMoJ4n9FxP9Us1VRYV82VHBgShyTUQiFQOWTdTY cjxuwpwxJrG0XAcFGuUj5mZqmEY1qmt08Ile0XNbEiIo/NpzDOSIqT2ATPQRZTWG4ssW 9YRT+AmQYxQE7NVvBAf+YA2lsYNuV77dVwxKoR1LWLYaC5h6ePaJOOkENKqElfvbCrTX J53vk/iS0eqESJ7mVPwV9VNQOwGVfRdG3uspMFLCHAoueqhIqPni9giH8JgPDMY+cj7A aFhOuZc0wRGTdcSg0JFTEqyj5gBqYlPsYOwR2gocL50exknGn7zoas1wWmHBYOJp3sXc OmAw== 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=sl2QbYWuuYAQ+ZNjzfkZre7Zj1YRzCcN3wF3YnK6CoQ=; b=Q4g9XGwuGbpm+xMX8nYvqBKlTXYqdFtPaS5Pi2U9n76oNPPTo8KBWJwtvhKF3h3ziK SonEej8TBUWTnQdtSlF3H0zdony3n4714pm7JLR8ck08A6xlPU/SUSzImhhfgx4+rR5+ 8oPsRY/CDRLloWJ91mD+RP4vQL+ZmLRXCFS1B1eAKTyyVuw0GPMPc3Dv/Vzp54ixRSWh jtC4GBlTFrryGw4qpbPuM002Evto9FlUOi2I8hyAg5NhHSusHITmN4VslJKe1eqKV3hl /p2y9p5PnY+NlPO5xE0aPqVn7r1GeJ5BJ3Pn1uZOU5Q7FYWsOdvxhH/KIsydFppHnPz4 1nmA== X-Gm-Message-State: AMke39k+QrfqjVTLbdZb03n+ujGximFcnODLF4+bd3t+p7PJcP4qO8gAi9I48t7kmLkcEqRD X-Received: by 10.237.36.116 with SMTP id s49mr18175607qtc.128.1489115376891; Thu, 09 Mar 2017 19:09:36 -0800 (PST) Received: from alvin.alvh.no-ip.org ([190.217.209.181]) by smtp.gmail.com with ESMTPSA id o16sm5566095qkl.67.2017.03.09.19.09.35 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 09 Mar 2017 19:09:36 -0800 (PST) Received: by alvin.alvh.no-ip.org (Postfix, from userid 1000) id E4394657; Fri, 10 Mar 2017 00:09:32 -0300 (CLST) Date: Fri, 10 Mar 2017 00:09:32 -0300 From: Alvaro Herrera To: Fabien COELHO Cc: Tom Lane , pgsql-committers@postgresql.org Subject: Re: pgsql: Fix pgbench's failure to honor the documented long-form option " Message-ID: <20170310030932.b762pstg6cosw7xc@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/20170206-195-7adf12 (1.7.2) X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-committers Precedence: bulk Sender: pgsql-committers-owner@postgresql.org Fabien COELHO wrote: > > > Not only did it not accept --builtin as a synonym for -b, but what it did > > accept as a synonym was --tpc-b (huh?), which it got even further wrong > > by marking as no_argument, so that if you did try that you got a core > > dump. I suppose this is leftover from some early design for the new > > switches added by commit 8bea3d221, but it's still pretty sloppy work. > > Argh, shame on me. I think at some point --tpc-b was an alias for the > default script which then got replaced by builtin + name, but the > implementation did not follow the upgrade:-( Sorry for the result. Ouch, this is terrible. I was so focused on the actual feature that I forgot to verify that the UI was sane. I know I only tested using -b ... -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers