forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit1e8b617

Amit Kapila
Rename GUC logical_decoding_mode to logical_replication_mode.
Rename the developer option 'logical_decoding_mode' to the more flexiblename 'logical_replication_mode' because doing so will make it easier toextend this option in the future to help test other areas of logicalreplication.Currently, it is used on the publisher side to allow streaming orserializing each change in logical decoding. In the upcoming patch, we areplanning to use it on the subscriber. On the subscriber, it will allowserializing the changes to file and notifies the parallel apply workers toread and apply them at the end of the transaction.We discussed exposing this parameter as a subscription option butit did not seem advisable since it is primarily used for testing/debuggingand there is no other such parameter. We also discussed having separateGUCs for publisher and subscriber but for current testing/debuggingrequirements, one GUC is sufficient.Author: Hou ZhijieReviewed-by: Peter Smith, Kuroda Hayato, Sawada Masahiko, Amit KapilaDiscussion:https://postgr.es/m/CAD21AoAy2c=Mx=FTCs+EwUsf2kQL5MmU3N18X84k0EmCXntK4g@mail.gmail.comDiscussion:https://postgr.es/m/CAA4eK1+wyN6zpaHUkCLorEWNx75MG0xhMwcFhvjqm2KURZEAGw@mail.gmail.com1 parent8d2c191 commit1e8b617
File tree
9 files changed
+30
-29
lines changed- doc/src/sgml
- src
- backend
- replication/logical
- utils/misc
- include/replication
- test/subscription/t
- tools/pgindent
9 files changed
+30
-29
lines changedLines changed: 4 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
11693 | 11693 |
| |
11694 | 11694 |
| |
11695 | 11695 |
| |
11696 |
| - | |
11697 |
| - | |
| 11696 | + | |
| 11697 | + | |
11698 | 11698 |
| |
11699 |
| - | |
| 11699 | + | |
11700 | 11700 |
| |
11701 | 11701 |
| |
11702 | 11702 |
| |
11703 | 11703 |
| |
11704 | 11704 |
| |
11705 |
| - | |
| 11705 | + | |
11706 | 11706 |
| |
11707 | 11707 |
| |
11708 | 11708 |
| |
|
Lines changed: 7 additions & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
210 | 210 |
| |
211 | 211 |
| |
212 | 212 |
| |
213 |
| - | |
| 213 | + | |
214 | 214 |
| |
215 | 215 |
| |
216 | 216 |
| |
| |||
3552 | 3552 |
| |
3553 | 3553 |
| |
3554 | 3554 |
| |
3555 |
| - | |
3556 |
| - | |
| 3555 | + | |
| 3556 | + | |
3557 | 3557 |
| |
3558 | 3558 |
| |
3559 | 3559 |
| |
| |||
3566 | 3566 |
| |
3567 | 3567 |
| |
3568 | 3568 |
| |
3569 |
| - | |
| 3569 | + | |
3570 | 3570 |
| |
3571 | 3571 |
| |
3572 |
| - | |
| 3572 | + | |
3573 | 3573 |
| |
3574 | 3574 |
| |
3575 | 3575 |
| |
3576 | 3576 |
| |
3577 |
| - | |
| 3577 | + | |
3578 | 3578 |
| |
3579 | 3579 |
| |
3580 | 3580 |
| |
| |||
3584 | 3584 |
| |
3585 | 3585 |
| |
3586 | 3586 |
| |
3587 |
| - | |
| 3587 | + | |
3588 | 3588 |
| |
3589 | 3589 |
| |
3590 | 3590 |
| |
|
Lines changed: 8 additions & 8 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
395 | 395 |
| |
396 | 396 |
| |
397 | 397 |
| |
398 |
| - | |
399 |
| - | |
400 |
| - | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
401 | 401 |
| |
402 | 402 |
| |
403 | 403 |
| |
| |||
4919 | 4919 |
| |
4920 | 4920 |
| |
4921 | 4921 |
| |
4922 |
| - | |
4923 |
| - | |
4924 |
| - | |
| 4922 | + | |
| 4923 | + | |
| 4924 | + | |
4925 | 4925 |
| |
4926 | 4926 |
| |
4927 |
| - | |
4928 |
| - | |
| 4927 | + | |
| 4928 | + | |
4929 | 4929 |
| |
4930 | 4930 |
| |
4931 | 4931 |
| |
|
Lines changed: 6 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
17 | 17 |
| |
18 | 18 |
| |
19 | 19 |
| |
| 20 | + | |
20 | 21 |
| |
21 |
| - | |
| 22 | + | |
22 | 23 |
| |
23 |
| - | |
| 24 | + | |
24 | 25 |
| |
25 | 26 |
| |
26 |
| - | |
27 |
| - | |
28 |
| - | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
29 | 30 |
| |
30 | 31 |
| |
31 | 32 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
79 | 79 |
| |
80 | 80 |
| |
81 | 81 |
| |
82 |
| - | |
| 82 | + | |
83 | 83 |
| |
84 | 84 |
| |
85 | 85 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
130 | 130 |
| |
131 | 131 |
| |
132 | 132 |
| |
133 |
| - | |
| 133 | + | |
134 | 134 |
| |
135 | 135 |
| |
136 | 136 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
16 | 16 |
| |
17 | 17 |
| |
18 | 18 |
| |
19 |
| - | |
| 19 | + | |
20 | 20 |
| |
21 | 21 |
| |
22 | 22 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
301 | 301 |
| |
302 | 302 |
| |
303 | 303 |
| |
304 |
| - | |
| 304 | + | |
305 | 305 |
| |
306 | 306 |
| |
307 | 307 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1458 | 1458 |
| |
1459 | 1459 |
| |
1460 | 1460 |
| |
1461 |
| - | |
1462 | 1461 |
| |
1463 | 1462 |
| |
1464 | 1463 |
| |
| |||
1468 | 1467 |
| |
1469 | 1468 |
| |
1470 | 1469 |
| |
| 1470 | + | |
1471 | 1471 |
| |
1472 | 1472 |
| |
1473 | 1473 |
| |
|
0 commit comments
Comments
(0)