forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit9177545
committed
Make pg_createsubscriber warn if publisher has two-phase commit enabled.
pg_createsubscriber currently always sets up logical replicationwith two-phase commit disabled. Improving that is not going tohappen for v17. In the meantime, document the deficiency, andadjust pg_createsubscriber so that it will emit a warning ifthe source installation has max_prepared_transactions > 0.Hayato Kuroda (some mods by Amit Kapila and me), per complaint fromNoah MischDiscussion:https://postgr.es/m/20240623062157.97.nmisch@google.com1 parentb3f5cce commit9177545
File tree
2 files changed
+28
-17
lines changed- doc/src/sgml/ref
- src/bin/pg_basebackup
2 files changed
+28
-17
lines changedLines changed: 11 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
353 | 353 |
| |
354 | 354 |
| |
355 | 355 |
| |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
356 | 367 |
| |
357 | 368 |
| |
358 | 369 |
| |
|
Lines changed: 17 additions & 17 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
823 | 823 |
| |
824 | 824 |
| |
825 | 825 |
| |
| 826 | + | |
826 | 827 |
| |
827 | 828 |
| |
828 | 829 |
| |
| |||
849 | 850 |
| |
850 | 851 |
| |
851 | 852 |
| |
852 |
| - | |
853 |
| - | |
854 |
| - | |
855 |
| - | |
856 |
| - | |
857 |
| - | |
858 |
| - | |
859 |
| - | |
860 |
| - | |
861 |
| - | |
862 |
| - | |
863 |
| - | |
864 |
| - | |
865 |
| - | |
866 |
| - | |
867 |
| - | |
868 |
| - | |
| 853 | + | |
| 854 | + | |
| 855 | + | |
| 856 | + | |
| 857 | + | |
| 858 | + | |
869 | 859 |
| |
870 | 860 |
| |
871 | 861 |
| |
| |||
879 | 869 |
| |
880 | 870 |
| |
881 | 871 |
| |
| 872 | + | |
882 | 873 |
| |
883 | 874 |
| |
884 | 875 |
| |
| |||
887 | 878 |
| |
888 | 879 |
| |
889 | 880 |
| |
| 881 | + | |
| 882 | + | |
890 | 883 |
| |
891 | 884 |
| |
892 | 885 |
| |
| |||
914 | 907 |
| |
915 | 908 |
| |
916 | 909 |
| |
| 910 | + | |
| 911 | + | |
| 912 | + | |
| 913 | + | |
| 914 | + | |
| 915 | + | |
| 916 | + | |
917 | 917 |
| |
918 | 918 |
| |
919 | 919 |
| |
|
0 commit comments
Comments
(0)