postgresql/src
Michael Paquier 08c3ad27eb Rework how logirep launchers are stopped during pg_upgrade
This is a rework of 7021d3b176, where we relied on forcing
max_logical_replication_workers to 0 in the postgres command.  This
commit now prevents logical replication launchers to start using -b and
a backend-side check based on IsBinaryUpgrade, effective when upgrading
from 17 and newer versions.

This commit improves the comments explaining why this restriction is
necessary.

This discussion was on hold until we were sure how to add support for
subscribers in pg_upgrade, something now done thanks to 9a17be1e24.

Reviewed-by: Álvaro Herrera, Amit Kapila, Tom Lane
Discussion: https://postgr.es/m/ZU2TeVkUg5qEi7Oy@paquier.xyz
2024-01-12 08:23:07 +09:00
..
backend Rework how logirep launchers are stopped during pg_upgrade 2024-01-12 08:23:07 +09:00
bin Rework how logirep launchers are stopped during pg_upgrade 2024-01-12 08:23:07 +09:00
common Cleanup for unicode-update build target and test. 2024-01-11 12:35:29 -08:00
fe_utils Update copyright for 2024 2024-01-03 20:49:05 -05:00
include Add new function pg_get_wal_summarizer_state(). 2024-01-11 12:41:18 -05:00
interfaces Add new function, PQchangePassword(), to libpq 2024-01-09 09:16:48 -05:00
makefiles Update copyright for 2024 2024-01-03 20:49:05 -05:00
pl Clean up some edge cases in plpgsql's %TYPE parsing. 2024-01-05 14:32:34 -05:00
port Update copyright for 2024 2024-01-03 20:49:05 -05:00
template Use unnamed POSIX semaphores on Cygwin. 2023-01-06 10:33:28 +13:00
test Fix some inconsistent whitespace in Perl file 2024-01-11 22:23:44 +01:00
timezone Update copyright for 2024 2024-01-03 20:49:05 -05:00
tools Add new pg_walsummary tool. 2024-01-11 12:48:27 -05:00
tutorial Update copyright for 2024 2024-01-03 20:49:05 -05:00
.gitignore Convert cvsignore to gitignore, and add .gitignore for build targets. 2010-09-22 12:57:04 +02:00
DEVELOPERS Replace a couple of references to files that no longer exist in the source 2009-05-04 08:08:47 +00:00
Makefile Remove distprep 2023-11-06 15:18:04 +01:00
Makefile.global.in Initialize data directories with --lc-messages=C for tests. 2023-12-21 15:10:13 -08:00
Makefile.shlib Stop using "-multiply_defined suppress" on macOS. 2023-09-26 21:06:21 -04:00
meson.build Update copyright for 2024 2024-01-03 20:49:05 -05:00
nls-global.mk Remove distprep 2023-11-06 15:18:04 +01:00