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

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: Andres Freund <andres(at)anarazel(dot)de>
Cc: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Dilip Kumar <dilipbalaut(at)gmail(dot)com>, jungleboogie0(at)gmail(dot)com, pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #15964: vacuumdb.c:187:10: error: use of undeclared identifier 'FD_SETSIZE'
Date: 2019-08-23 01:59:21
Message-ID: 20190823015921.GD2328@paquier.xyz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Thu, Aug 22, 2019 at 08:09:45AM -0700, Andres Freund wrote:
> This isn't a particularly general API - it's in
> src/bin/scripts/scripts_parallel.h. So I think a better error message is
> more than worth the slight decrease in generality.

The latest patch does that:
+ pg_log_fatal("too many jobs for this platform's select() -- try %d"
Do you have a better suggestion to offer, like a s#jobs#-j/--jobs#?
--
Michael

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Haleemur Ali 2019-08-23 05:04:59 Partial unique index not respected by insert on conflict statement
Previous Message PG Bug reporting form 2019-08-22 21:54:39 BUG #15973: Sort by size in import/export dialog