From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: jungle Boogie <jungleboogie0@gmail.com>
Cc: jungleboogie0+psql@gmail.com
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #14334: vacuumdb.c build failure on openbsd
Date: Wed, 21 Sep 2016 16:22:51 -0300
Message-ID: <20160921192251.GA911637@alvherre.pgsql> (raw)
In-Reply-To: <CAKE2PDsubyj=TS_Ub5B37zeyn-EA3+_FUB5sfwRevY5NupAnUQ@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
jungle Boogie wrote:
> http://man.openbsd.org/OpenBSD-current/man2/select.2
>
> Also has #include <sys/select.h>
So "current" is 6.0? We don't have a lot of OpenBSD machines in the
buildfarm; would you be able to contribute one? The one we have
(curculio) runs 5.9 and has been running fine with the committed code.
https://wiki.postgresql.org/wiki/Buildfarm
It makes portability work easier if we see right away that a commit has
broken something.
Can you try HEAD with the following patch applied and let me know if it
works?
--
Álvaro Herrera https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugsAttachments:vacuumdb.patch (text/x-diff, 366B) downloaddiff --git a/src/bin/scripts/vacuumdb.c b/src/bin/scripts/vacuumdb.cindex c10b58b..32cb0fc 100644--- a/src/bin/scripts/vacuumdb.c+++ b/src/bin/scripts/vacuumdb.c@@ -12,6 +12,10 @@
#include "postgres_fe.h"
+#ifdef HAVE_SYS_SELECT_H+#include <sys/select.h>+#endif+
#include "common.h"
#include "fe_utils/simple_list.h"
#include "fe_utils/string_utils.h"
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: alvherre@2ndquadrant.com, jungleboogie0@gmail.com, jungleboogie0+psql@gmail.com
Subject: Re: BUG #14334: vacuumdb.c build failure on openbsd
In-Reply-To: <20160921192251.GA911637@alvherre.pgsql>
References: <CAKE2PDsubyj=TS_Ub5B37zeyn-EA3+_FUB5sfwRevY5NupAnUQ@mail.gmail.com> <20160921192251.GA911637@alvherre.pgsql>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox