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 1hzZzg-0000DT-15 for pgsql-bugs@arkaria.postgresql.org; Mon, 19 Aug 2019 05:14:12 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hzZze-0001eP-Sw for pgsql-bugs@arkaria.postgresql.org; Mon, 19 Aug 2019 05:14:10 +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 1hzZze-0001cd-Kg for pgsql-bugs@lists.postgresql.org; Mon, 19 Aug 2019 05:14:10 +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 1hzZzc-0001wA-E6 for pgsql-bugs@lists.postgresql.org; Mon, 19 Aug 2019 05:14:10 +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 x7J5E3ja025242; Mon, 19 Aug 2019 01:14:03 -0400 From: Tom Lane To: Michael Paquier cc: Andres Freund , jungleboogie0@gmail.com, pgsql-bugs@lists.postgresql.org Subject: Re: BUG #15964: vacuumdb.c:187:10: error: use of undeclared identifier 'FD_SETSIZE' In-reply-to: <20190819044625.GA18166@paquier.xyz> 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> <20190819044625.GA18166@paquier.xyz> Comments: In-reply-to Michael Paquier message dated "Mon, 19 Aug 2019 13:46:25 +0900" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <25240.1566191643.1@sss.pgh.pa.us> Date: Mon, 19 Aug 2019 01:14:03 -0400 Message-ID: <25241.1566191643@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Michael Paquier writes: > On Sat, Aug 17, 2019 at 03:41:42PM -0700, Andres Freund wrote: >>> Indeed. I've confirmed the bug report on a local OpenBSD 6.4 build >>> (clang 6.0.0), and with "make -k" I can see that reindexdb.c fails >>> likewise. But this is unsurprising given that POSIX says that >>> FD_SETSIZE is declared by sys/select.h. >> Right. > Okay, then the current code is broken in this sense. It was > surprising to not see the buildfarm complain about that though. Yeah --- see 51c3e9fad. We should have set up a modern-OpenBSD buildfarm member back then, but failed to. Let's do that this time. regards, tom lane