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 1ezxZI-0007kR-Aw for pgsql-committers@arkaria.postgresql.org; Sun, 25 Mar 2018 04:47:44 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1ezxZH-0004Jv-7k for pgsql-committers@arkaria.postgresql.org; Sun, 25 Mar 2018 04:47:43 +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.89) (envelope-from ) id 1ezxZG-0004Jm-Vq for pgsql-committers@lists.postgresql.org; Sun, 25 Mar 2018 04:47:43 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1ezxZE-0006FJ-IN for pgsql-committers@lists.postgresql.org; Sun, 25 Mar 2018 04:47:41 +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 w2P4lX23026674; Sun, 25 Mar 2018 00:47:33 -0400 From: Tom Lane To: Andres Freund cc: Peter Eisentraut , pgsql-committers@lists.postgresql.org Subject: Re: pgsql: Add long options to pg_resetwal and pg_controldata In-reply-to: <20180325030552.f462zqmohs6cqekg@alap3.anarazel.de> References: <20180325030552.f462zqmohs6cqekg@alap3.anarazel.de> Comments: In-reply-to Andres Freund message dated "Sat, 24 Mar 2018 20:05:52 -0700" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <26672.1521953253.1@sss.pgh.pa.us> Date: Sun, 25 Mar 2018 00:47:33 -0400 Message-ID: <26673.1521953253@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Andres Freund writes: > Windows doesn't like this, I suspect you need to include getopt_long.h Not just Windows. I went ahead and pushed this so I could resume testing on gaur/pademelon. regards, tom lane