Re: sockaddr_un.sun_len vs. reality - Mailing list pgsql-hackers

From Thomas Munro
Subject Re: sockaddr_un.sun_len vs. reality
Date
Msg-id CA+hUKG+9SL3Nh8PDYVz=VuAFhkEOy=v1z2P9K6zEZRRTeRFSOg@mail.gmail.com
Whole thread Raw
In response to Re: sockaddr_un.sun_len vs. reality  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
On Tue, Feb 15, 2022 at 3:25 AM Robert Haas <robertmhaas@gmail.com> wrote:
> It's not real clear to me that it's worth complicating the code to
> avoid a harmless compiler warning on an 11-year-old operating system
> with minimal real-world usage. On the other hand, if you really feel
> motivated to do something about it, I'm not here to argue. My one
> suggestion is that if you do add some strange incantation here along
> the lines you propose, you should at least add a comment explaining
> that it was done to suppress a warning on AIX 7.1. That way, there's a
> chance someone might be brave enough to try removing it in the future
> at such time as nobody cares about AIX 7.1 any more.

Just for the record, it's not just 11-year-old 7.1; 7.2 contains this
contradiction too, but our 7.2 animal doesn't complain because it's
using a different compiler.  I bet you one internet point 7.3 (which
just dropped in December, but isn't yet available for open source
hackers to scrounge an account on in the GCC farm) is the same.

By the way, speaking of open source on AIX, this distribution is
coming to an end:

http://www.bullfreeware.com/newsPage



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [PATCH] Add tests for psql tab completion
Next
From: Nikolay Samokhvalov
Date:
Subject: Re: Observability in Postgres