pgsql: Clean-ups for 776621a5e4 and 7329240437.

From: Amit Kapila <akapila(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Clean-ups for 776621a5e4 and 7329240437.
Date: 2024-02-07 04:48:08
Message-ID: E1rXZqy-0051yW-Ny@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Clean-ups for 776621a5e4 and 7329240437.

Following are a few clean-ups related to failover option support in slots:
1. Improve the documentation in create_subscription.sgml.
2. Remove the spurious blank line in subscriptioncmds.c.
3. Remove the NOTICE for alter_replication_slot in subscriptioncmds.c as
we would sometimes print it even when nothing has changed. One can find
the change by enabling log_replication_commands on the publisher.
4. Optimize ReplicationSlotAlter() function to prevent disk flushing when
the slot's data remains unchanged.

Author: Hou Zhijie
Reviewed-by: Amit Kapila
Discussion: https://postgr.es/m/514f6f2f-6833-4539-39f1-96cd1e011f23@enterprisedb.com
Discussion: https://postgr.es/m/OS0PR01MB57164904651FB588A518E98894472@OS0PR01MB5716.jpnprd01.prod.outlook.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/22f7e61a63306873211e26c7bac9c68631309aef

Modified Files
--------------
doc/src/sgml/ref/create_subscription.sgml | 5 ++---
doc/src/sgml/ref/pg_dump.sgml | 4 +---
src/backend/commands/subscriptioncmds.c | 8 --------
src/backend/replication/slot.c | 14 +++++++++-----
4 files changed, 12 insertions(+), 19 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Amit Kapila 2024-02-07 05:58:36 pgsql: Set LSN for wbuf in _hash_freeovflpage() iff wbuf is modified.
Previous Message Michael Paquier 2024-02-07 03:29:27 pgsql: Simplify signature of CopyAttributeOutCSV() in copyto.c