postgresql/src/bin/pgbench
Peter Eisentraut 618c64ffd3 Revert workarounds for -Wmissing-braces false positives on old GCC
We have collected several instances of a workaround for GCC bug 53119,
which caused false-positive compiler warnings.  This bug has long been
fixed, but was still seen on the buildfarm, most recently on lapwing
with gcc (Debian 4.7.2-5).  (The GCC bug tracker mentions that a fix
was backported to 4.7.4 and 4.8.3.)

That compiler no longer runs warning-free since commit 6fdd5d9563, so
we don't need to keep these workarounds.  And furthermore, the
consensus appears to be that we don't want to keep supporting that era
of platform anymore at all.

This reverts the following commits:

d937904cce
506428d091
b449afb582
6392f2a096
bad0763a4d
5e0c761d0a

and makes a few similar fixes to newer code.

Discussion: https://www.postgresql.org/message-id/flat/e170d61f-01ab-4cf9-ab68-91cd1fac62c5%40eisentraut.org
Discussion: https://www.postgresql.org/message-id/flat/CA%2BTgmoYEAm-KKZibAP3hSqbTFTjUd47XtVcf3xSFDpyecXX9uQ%40mail.gmail.com
2025-03-20 11:25:58 +01:00
..
t Apply more consistent style for command options in TAP tests 2025-03-17 12:42:23 +09:00
.gitignore Build all Flex files standalone 2022-09-04 12:09:01 +07:00
exprparse.y Return yyparse() result not via global variable 2025-01-24 06:55:39 +01:00
exprscan.l Get rid of O(N^2) script-parsing overhead in pgbench. 2025-02-27 10:53:38 -05:00
Makefile Remove distprep 2023-11-06 15:18:04 +01:00
meson.build Update copyright for 2025 2025-01-01 11:21:55 -05:00
pgbench.c Revert workarounds for -Wmissing-braces false positives on old GCC 2025-03-20 11:25:58 +01:00
pgbench.h pg_noreturn to replace pg_attribute_noreturn() 2025-03-13 12:37:26 +01:00