postgresql/src
Tom Lane 551aa6b7b9 Improve wording of log messages triggered by max_slot_wal_keep_size.
The one about "terminating process to release replication slot" told
you nothing about why that was happening.  The one about "invalidating
slot because its restart_lsn exceeds max_slot_wal_keep_size" told you
what was happening, but violated our message style guideline about
keeping the primary message short.  Add DETAIL/HINT lines to carry
the appropriate detail and make the two cases more uniform.

While here, fix bogus test logic in 019_replslot_limit.pl: if it timed
out without seeing the expected log message, no test failure would be
reported.  This is flat broken since commit 549ec201d removed the test
counts; even before that it was horribly bad style, since you'd only
get told that not all tests had been run.

Kyotaro Horiguchi, reviewed by Bertrand Drouvot; test fixes by me

Discussion: https://postgr.es/m/20211214.130456.2233153190058148084.horikyota.ntt@gmail.com
2022-09-29 13:27:48 -04:00
..
backend Improve wording of log messages triggered by max_slot_wal_keep_size. 2022-09-29 13:27:48 -04:00
bin Mark sigint_interrupt_enabled as sig_atomic_t 2022-09-29 14:28:13 +09:00
common Change some errdetail() to errdetail_internal() 2022-09-28 17:14:53 +02:00
fe_utils Revert 56-bit relfilenode change and follow-up commits. 2022-09-28 09:55:28 -04:00
include Use actual backend IDs in pg_stat_get_backend_idset() and friends. 2022-09-29 12:14:39 -04:00
interfaces Remove PQsendQuery support in pipeline mode 2022-09-23 18:21:22 +02:00
makefiles windows: remove date from version number in win32ver.rc 2022-09-26 11:38:02 -07:00
pl Introduce GUC_NO_RESET flag. 2022-09-27 11:47:12 -04:00
port windows: Set UMDF_USING_NTSTATUS globally, include ntstatus.h 2022-09-28 21:59:15 -07:00
template Move darwin sysroot determination into separate file 2022-09-01 16:54:19 -07:00
test Improve wording of log messages triggered by max_slot_wal_keep_size. 2022-09-29 13:27:48 -04:00
timezone meson: Add initial version of meson based build system 2022-09-21 22:37:17 -07:00
tools ci: Add hint about downloadable logs to README 2022-09-26 20:02:26 -07:00
tutorial Update copyright for 2022 2022-01-07 19:04:57 -05:00
.gitignore
DEVELOPERS
Makefile Remove the option to build thread_test.c outside configure. 2020-10-21 12:08:48 -04:00
Makefile.global.in Split TESTDIR into TESTLOGDIR and TESTDATADIR 2022-09-19 18:03:17 -07:00
Makefile.shlib aix: No need to use mkldexport when we want to export all symbols 2022-09-09 19:11:49 -07:00
meson.build meson: Add initial version of meson based build system 2022-09-21 22:37:17 -07:00
nls-global.mk Fix for make unportability 2022-07-13 09:15:01 +02:00