Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1i1tX3-00087a-BJ for pgsql-hackers@arkaria.postgresql.org; Sun, 25 Aug 2019 14:30:13 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1i1tX1-0008Ds-Qx for pgsql-hackers@arkaria.postgresql.org; Sun, 25 Aug 2019 14:30:11 +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_SHA1:256) (Exim 4.89) (envelope-from ) id 1i1tX1-0008Dl-Ij for pgsql-hackers@lists.postgresql.org; Sun, 25 Aug 2019 14:30:11 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1i1tWx-0007co-NZ for pgsql-hackers@postgresql.org; Sun, 25 Aug 2019 14:30:11 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id x7PETx1b012751; Sun, 25 Aug 2019 10:30:00 -0400 From: Tom Lane To: Peter Eisentraut cc: pgsql-hackers Subject: Re: pg_upgrade: Error out on too many command-line arguments In-reply-to: References: Comments: In-reply-to Peter Eisentraut message dated "Sun, 25 Aug 2019 10:51:47 +0200" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <12749.1566743399.1@sss.pgh.pa.us> Date: Sun, 25 Aug 2019 10:29:59 -0400 Message-ID: <12750.1566743399@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Peter Eisentraut writes: > I propose the attached patch to make pg_upgrade error out on too many > command-line arguments. This makes it match the behavior of other > PostgreSQL programs. +1 ... are we missing this anywhere else? regards, tom lane