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

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #15964: vacuumdb.c:187:10: error: use of undeclared identifier 'FD_SETSIZE'
Дата
Msg-id 24757.1566073861@sss.pgh.pa.us
обсуждение исходный текст
Ответ на BUG #15964: vacuumdb.c:187:10: error: use of undeclared identifier 'FD_SETSIZE'  (PG Bug reporting form <noreply@postgresql.org>)
Ответы Re: BUG #15964: vacuumdb.c:187:10: error: use of undeclaredidentifier 'FD_SETSIZE'  (Andres Freund <andres@anarazel.de>)
Список pgsql-bugs
PG Bug reporting form <noreply@postgresql.org> writes:
> I'm trying to compile Postgresql from master on my OpenBSD machine, but I'm
> getting a build failure here:
> vacuumdb.c:184:26: error: use of undeclared identifier 'FD_SETSIZE'
>                                 if (concurrentCons > FD_SETSIZE - 1)
>                                                      ^

Hmm, it seems somebody removed the "#include <sys/select.h>" from
that file, which was a pretty not-bright idea.  But I wonder why
the OpenBSD machines in the buildfarm aren't complaining.

            regards, tom lane



В списке pgsql-bugs по дате отправления:

Предыдущее
От: PG Bug reporting form
Дата:
Сообщение: BUG #15964: vacuumdb.c:187:10: error: use of undeclared identifier 'FD_SETSIZE'
Следующее
От: Andres Freund
Дата:
Сообщение: Re: BUG #15964: vacuumdb.c:187:10: error: use of undeclaredidentifier 'FD_SETSIZE'