| From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: Make pg_createsubscriber warn if publisher has two-phase commit |
| Date: | 2024-06-30 18:24:23 |
| Message-ID: | E1sNzDq-003gsL-FR@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
Make pg_createsubscriber warn if publisher has two-phase commit enabled.
pg_createsubscriber currently always sets up logical replication
with two-phase commit disabled. Improving that is not going to
happen for v17. In the meantime, document the deficiency, and
adjust pg_createsubscriber so that it will emit a warning if
the source installation has max_prepared_transactions > 0.
Hayato Kuroda (some mods by Amit Kapila and me), per complaint from
Noah Misch
Discussion: https://postgr.es/m/20240623062157.97.nmisch@google.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/917754557cc0002bb042341720a7ce18fe5b0a09
Modified Files
--------------
doc/src/sgml/ref/pg_createsubscriber.sgml | 11 ++++++++++
src/bin/pg_basebackup/pg_createsubscriber.c | 34 ++++++++++++++---------------
2 files changed, 28 insertions(+), 17 deletions(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tomas Vondra | 2024-06-30 18:54:03 | pgsql: Add pg_combinebackup --copy option |
| Previous Message | Tom Lane | 2024-06-30 17:45:31 | pgsql: Make pg_createsubscriber more wary about quoting connection para |