postgresql/src/backend/postmaster
Nathan Bossart 80686761c4 Avoid overflow in MaybeRemoveOldWalSummaries().
This commit limits the maximum value of wal_summary_keep_time to
INT_MAX / SECS_PER_MINUTE to avoid overflow when it is converted to
seconds.  In passing, use the HOURS_PER_DAY, MINS_PER_HOUR, and
SECS_PER_MINUTE macros in the code for this GUC instead of hard-
coding those values.

Discussion: https://postgr.es/m/20240314210010.GA3056455%40nathanxps13
2024-03-20 13:31:58 -05:00
..
Makefile Move some functions from postmaster.c to a new source file 2024-03-18 11:35:05 +02:00
autovacuum.c Refactor postmaster child process launching 2024-03-18 11:35:30 +02:00
auxprocess.c Refactor postmaster child process launching 2024-03-18 11:35:30 +02:00
bgworker.c Refactor postmaster child process launching 2024-03-18 11:35:30 +02:00
bgwriter.c Refactor postmaster child process launching 2024-03-18 11:35:30 +02:00
checkpointer.c Refactor postmaster child process launching 2024-03-18 11:35:30 +02:00
fork_process.c Update copyright for 2024 2024-01-03 20:49:05 -05:00
interrupt.c Centralize logic for restoring errno in signal handlers. 2024-02-14 16:34:18 -06:00
launch_backend.c Remove assertions that some compiler say are tautological 2024-03-20 09:14:51 +02:00
meson.build Move some functions from postmaster.c to a new source file 2024-03-18 11:35:05 +02:00
pgarch.c Refactor postmaster child process launching 2024-03-18 11:35:30 +02:00
postmaster.c Move code for backend startup to separate file 2024-03-18 11:38:10 +02:00
startup.c Refactor postmaster child process launching 2024-03-18 11:35:30 +02:00
syslogger.c Refactor postmaster child process launching 2024-03-18 11:35:30 +02:00
walsummarizer.c Avoid overflow in MaybeRemoveOldWalSummaries(). 2024-03-20 13:31:58 -05:00
walwriter.c Refactor postmaster child process launching 2024-03-18 11:35:30 +02:00