forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit08c3ad2
committed
Rework how logirep launchers are stopped during pg_upgrade
This is a rework of7021d3b, where we relied on forcingmax_logical_replication_workers to 0 in the postgres command. Thiscommit now prevents logical replication launchers to start using -b anda backend-side check based on IsBinaryUpgrade, effective when upgradingfrom 17 and newer versions.This commit improves the comments explaining why this restriction isnecessary.This discussion was on hold until we were sure how to add support forsubscribers in pg_upgrade, something now done thanks to9a17be1.Reviewed-by: Álvaro Herrera, Amit Kapila, Tom LaneDiscussion:https://postgr.es/m/ZU2TeVkUg5qEi7Oy@paquier.xyz1 parent7786af4 commit08c3ad2
File tree
2 files changed
+13
-11
lines changed- src
- backend/replication/logical
- bin/pg_upgrade
2 files changed
+13
-11
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
925 | 925 |
| |
926 | 926 |
| |
927 | 927 |
| |
928 |
| - | |
| 928 | + | |
| 929 | + | |
| 930 | + | |
| 931 | + | |
| 932 | + | |
| 933 | + | |
| 934 | + | |
| 935 | + | |
929 | 936 |
| |
930 | 937 |
| |
931 | 938 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
248 | 248 |
| |
249 | 249 |
| |
250 | 250 |
| |
251 |
| - | |
252 |
| - | |
253 |
| - | |
254 |
| - | |
255 |
| - | |
256 |
| - | |
257 |
| - | |
258 |
| - | |
259 | 251 |
| |
260 | 252 |
| |
261 |
| - | |
| 253 | + | |
262 | 254 |
| |
263 |
| - | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
264 | 259 |
| |
265 | 260 |
| |
266 | 261 |
| |
|
0 commit comments
Comments
(0)