| From: | Andreas Karlsson <andreas(at)proxel(dot)se> |
|---|---|
| To: | Daniel Gustafsson <daniel(at)yesql(dot)se> |
| Cc: | pgsql-hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, Tristan Partin <tristan(at)partin(dot)io> |
| Subject: | Re: Grab bag of smaller OpenSSL fixups |
| Date: | 2026-07-14 13:29:54 |
| Message-ID: | 7fc78929-9601-4e2a-86a1-a611015469ec@proxel.se |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
On 7/14/26 15:17, Daniel Gustafsson wrote:
>> On 14 Jul 2026, at 14:57, Andreas Karlsson <andreas(at)proxel(dot)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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Robert Haas | 2026-07-14 13:54:22 | document the dangers of granting TRIGGER or REFERENCES |
| Previous Message | Matheus Alcantara | 2026-07-14 13:28:49 | Re: hashjoins vs. Bloom filters (yet again) |