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 1hz9k8-0007Db-Mx for pgsql-bugs@arkaria.postgresql.org; Sun, 18 Aug 2019 01:12:24 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hz9j8-0005GW-KP for pgsql-bugs@arkaria.postgresql.org; Sun, 18 Aug 2019 01:11:22 +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 1hz9j8-0005GP-Ck for pgsql-bugs@lists.postgresql.org; Sun, 18 Aug 2019 01:11:22 +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 1hz9j6-0004Vr-Oo for pgsql-bugs@lists.postgresql.org; Sun, 18 Aug 2019 01:11:21 +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 x7I1BEXn028988; Sat, 17 Aug 2019 21:11:14 -0400 From: Tom Lane To: Andres Freund cc: Alvaro Herrera , Dilip Kumar , jungleboogie0@gmail.com, pgsql-bugs@lists.postgresql.org, Michael Paquier Subject: Re: BUG #15964: vacuumdb.c:187:10: error: use of undeclared identifier 'FD_SETSIZE' In-reply-to: <20190818010317.kh5pxpfgpsskc6ip@alap3.anarazel.de> References: <15964-c1753bdfed722e04@postgresql.org> <24757.1566073861@sss.pgh.pa.us> <20190817210025.v4bblh4lhsxajmlj@alap3.anarazel.de> <6402.1566079145@sss.pgh.pa.us> <20190817224142.gq57z3cwt7c76dtk@alap3.anarazel.de> <20190818001858.ho3ev4z57fqhs7a5@alap3.anarazel.de> <28480.1566089996@sss.pgh.pa.us> <20190818010317.kh5pxpfgpsskc6ip@alap3.anarazel.de> Comments: In-reply-to Andres Freund message dated "Sat, 17 Aug 2019 18:03:17 -0700" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <28986.1566090674.1@sss.pgh.pa.us> Date: Sat, 17 Aug 2019 21:11:14 -0400 Message-ID: <28987.1566090674@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Andres Freund writes: > On 2019-08-17 20:59:56 -0400, Tom Lane wrote: >> Good point, it's not. Subtracting off 10 or so might be reasonable. > I wonder if we shouldn't just do the same as pgbench now does, and just > only error when adding a too large fd. Works for me. regards, tom lane