Re: Grab bag of smaller OpenSSL fixups - Mailing list pgsql-hackers

From Andreas Karlsson
Subject Re: Grab bag of smaller OpenSSL fixups
Date
Msg-id 7fc78929-9601-4e2a-86a1-a611015469ec@proxel.se
Whole thread
In response to Re: Grab bag of smaller OpenSSL fixups  (Daniel Gustafsson <daniel@yesql.se>)
List pgsql-hackers
On 7/14/26 15:17, Daniel Gustafsson wrote:
>> On 14 Jul 2026, at 14:57, Andreas Karlsson <andreas@proxel.se> wrote:
> 
>> My compiler did not like the mix of both assert and nonnull attribute.
> 
> Interesting, mine didn't complain, but it's also pretty redundant to have both
> so removing the Assert and keeping the cost compile-time rather than runtime
> seem the right move.

If you are curious I am running gcc 13.3.

Compiler:

gcc (Ubuntu 13.3.0-6ubuntu2~24.04.1) 13.3.0

Flags according to meson compile --verbose:

cc -Isrc/backend/postgres_lib.a.p -Isrc/include 
-I../postgresql/src/include -I/usr/include/libxml2 
-I/usr/include/security -fdiagnostics-color=always 
-D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O0 -g -fno-strict-aliasing 
-fwrapv -fexcess-precision=standard -D_GNU_SOURCE -Wpointer-arith 
-Werror=vla -Wmissing-format-attribute -Wcast-function-type 
-Wshadow=compatible-local -Wformat-security -Wmissing-prototypes 
-Wold-style-declaration -Wold-style-definition -Wstrict-prototypes 
-Wimplicit-fallthrough=5 -Wdeclaration-after-statement 
-Wno-format-truncation -Wno-stringop-truncation -DUSE_VALGRIND -fPIC 
-isystem /usr/include/mit-krb5 -pthread -DBUILDING_DLL -MD -MQ 
src/backend/postgres_lib.a.p/libpq_be-secure-openssl.c.o -MF 
src/backend/postgres_lib.a.p/libpq_be-secure-openssl.c.o.d -o 
src/backend/postgres_lib.a.p/libpq_be-secure-openssl.c.o -c 
../postgresql/src/backend/libpq/be-secure-openssl.c

-- 
Andreas Karlsson
Percona




pgsql-hackers by date:

Previous
From: "Matheus Alcantara"
Date:
Subject: Re: hashjoins vs. Bloom filters (yet again)
Next
From: Robert Haas
Date:
Subject: document the dangers of granting TRIGGER or REFERENCES