postgresql/src/backend
Michael Paquier 891dbd17ce Fix compilation warning with SerializeClientConnectionInfo()
This function uses an argument named "maxsize" that is only used in
assertions, being set once outside the assertion area.  Recent gcc
versions with -Wunused-but-set-parameter complain about a warning when
building without assertions enabled, because of that.

In order to fix this issue, PG_USED_FOR_ASSERTS_ONLY is added to the
function argument of SerializeClientConnectionInfo(), which is the first
time we are doing so in the tree.  The CI is fine with the change, but
let's see what the buildfarm has to say on the matter.

Reviewed-by: Andres Freund <andres@anarazel.de>
Reviewed-by: Jacob Champion <jchampion@postgresql.org>
Discussion: https://postgr.es/m/pevajesswhxafjkivoq3yvwxga77tbncghlf3gq5fvchsvfuda@6uivg25sb3nx
Backpatch-through: 16
2025-08-14 16:21:58 +09:00
..
access Fix incorrect return value in brin_minmax_multi_distance_numeric(). 2025-08-05 16:51:10 -04:00
archive Update copyright for 2025 2025-01-01 11:21:55 -05:00
backup Use XLOG_CONTROL_FILE macro consistently for control file name. 2025-04-07 09:27:33 +09:00
bootstrap Remove unnecessary (char *) casts [mem] 2025-02-12 08:50:13 +01:00
catalog Fix a deadlock during ALTER SUBSCRIPTION ... DROP PUBLICATION. 2025-08-01 07:46:22 +00:00
commands Fix oversight in FindTriggerIncompatibleWithInheritance. 2025-08-08 17:35:00 +09:00
executor Fix security checks in selectivity estimation functions. 2025-08-11 09:07:36 +01:00
foreign Track the number of presorted outer pathkeys in MergePath 2025-05-08 18:21:32 +09:00
jit Don't put library-supplied -L/-I switches before user-supplied ones. 2025-07-29 15:17:40 -04:00
lib Correct list of files in src/backend/lib/README 2025-06-27 09:31:23 +09:00
libpq Fix build breakage on Solaris-alikes with late-model GCC. 2025-07-23 15:44:29 -04:00
main Use thread-safe strftime_l() instead of strftime(). 2025-03-28 07:13:43 +01:00
nodes Adapt REL_18_STABLE to its new status as a stable branch 2025-06-29 23:00:00 -04:00
optimizer Fix security checks in selectivity estimation functions. 2025-08-11 09:07:36 +01:00
parser Fix error message for ALTER CONSTRAINT ... NOT VALID 2025-07-02 17:02:27 +02:00
partitioning Fix bug in cbc127917 to handle nested Append correctly 2025-02-25 09:24:42 +09:00
po Translation updates 2025-08-11 14:38:06 +02:00
port Don't treat EINVAL from semget() as a hard failure. 2025-08-13 11:59:47 -04:00
postmaster Fix checkpointer shared memory allocation 2025-08-07 14:31:18 +03:00
regex Another unintentional behavior change in commit e9931bfb75. 2025-04-16 16:49:42 -07:00
replication Avoid unexpected shutdown when sync_replication_slots is enabled. 2025-08-04 20:52:59 +09:00
rewrite Change internal queryid type from uint64 to int64 2025-05-30 22:59:39 +12:00
snowball Use PG_MODULE_MAGIC_EXT in our installable shared libraries. 2025-03-26 11:11:02 -04:00
statistics Fix security checks in selectivity estimation functions. 2025-08-11 09:07:36 +01:00
storage Fix rare bug in read_stream.c's split IO handling. 2025-08-09 13:06:46 +12:00
tcop Remove assertion from PortalRunMulti 2025-07-17 17:40:22 +02:00
tsearch Clear errno before calling strtol() in spell.c. 2025-03-08 11:24:25 -05:00
utils Fix compilation warning with SerializeClientConnectionInfo() 2025-08-14 16:21:58 +09:00
.gitignore
common.mk Blind attempt to fix LLVM dependency in the backend 2022-09-15 10:53:48 +07:00
Makefile aio: Add liburing dependency 2025-03-26 19:45:32 -04:00
meson.build Update copyright for 2025 2025-01-01 11:21:55 -05:00
nls.mk Return yyparse() result not via global variable 2025-01-24 06:55:39 +01:00