Re: Adding NetBSD and OpenBSD to Postgres CI - Mailing list pgsql-hackers

From Andres Freund
Subject Re: Adding NetBSD and OpenBSD to Postgres CI
Date
Msg-id lb7s7dwxotdcmgs5r54jzydbon76stqpjpziqewf72qkzxaqfi@4ileqdbeps5j
Whole thread Raw
In response to Re: Adding NetBSD and OpenBSD to Postgres CI  (Peter Eisentraut <peter@eisentraut.org>)
List pgsql-hackers
Hi,

On 2024-11-07 16:05:43 +0100, Peter Eisentraut wrote:
> On 07.11.24 14:40, Nazir Bilal Yavuz wrote:
> > > I noticed that neither the existing FreeBSD task nor the new OpenBSD one
> > > find the bsd_auth.h header.  I thought this would be good to get more
> > > testing of that code.  Do you know why that is?
> > 
> > The 'bsd_auth.h' file does not exist in FreeBSD.
> > 
> > For the OpenBSD, it exists but its compilation fails with:
> > '''
> > /usr/include/bsd_auth.h:93:1: error: unknown type name 'quad_t'
> > /usr/include/bsd_auth.h:94:1: error: unknown type name 'quad_t
> > '''
> > 
> > These 'quad_t' types are defined in the 'sys/types.h' file.
> 
> Makes sense. The synopsis in https://man.openbsd.org/authenticate.3 is:
> 
> #include <sys/types.h>
> #include <login_cap.h>
> #include <bsd_auth.h>

It doesn't really make sense to me - it seems like a bug if system headers
aren't standalone. And the synopsys including a header doesn't seem to
obviously indicate that every user has to do so.

But anyway, we probably just have to deal with the world as it, rather than
how it should be :(

Greetings,

Andres Freund



pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: Eagerly scan all-visible pages to amortize aggressive vacuum
Next
From: Nathan Bossart
Date:
Subject: Re: Proposal for Updating CRC32C with AVX-512 Algorithm.