Re: BUG #15964: vacuumdb.c:187:10: error: use of undeclared identifier 'FD_SETSIZE'

Jungle Boogie <jungleboogie0@gmail.com>

From: jungle boogie <jungleboogie0@gmail.com>
To: Michael Paquier <michael@paquier.xyz>, Tom Lane <tgl@sss.pgh.pa.us>
Cc: Andres Freund <andres@anarazel.de>, Alvaro Herrera <alvherre@2ndquadrant.com>, Dilip Kumar <dilipbalaut@gmail.com>, pgsql-bugs@lists.postgresql.org
Date: 2019-08-26T06:46:05Z
Lists: pgsql-bugs
Thus said Michael Paquier <michael@paquier.xyz> on Mon, 26 Aug 2019 
11:17:23 +0900
> On Sat, Aug 24, 2019 at 11:23:19AM +0900, Michael Paquier wrote:
>> WFM.  Do others have any more suggestions?
> 
> Okay, done this way down to 9.5.

I haven't yet tested on amd64, but good news with ARM64 with OpenBSD 6.6 
-current:
$ sysctl kern.version
kern.version=OpenBSD 6.6-beta (GENERIC.MP) #198: Sun Aug 25 18:38:28 MDT 
2019
     deraadt@arm64.openbsd.org:/usr/src/sys/arch/arm64/compile/GENERIC.MP


gmake[1]: Nothing to be done for 'all'.
gmake[1]: Leaving directory '/home/sean/bin/postgresql/config'
All of PostgreSQL successfully made. Ready to install.




> --
> Michael
> 






Commits

  1. Fix error handling of vacuumdb when running out of fds

  2. Fix error handling of vacuumdb and reindexdb when running out of fds

  3. Fix compilation failure of vacuumdb and reindexdb with OpenBSD

  4. Improve Assert output

  5. Refactor parallelization processing code in src/bin/scripts/

  6. vacuumdb: enable parallel mode