PS_NITPICKS_20240909_TIMEOUT_V450001.txt

text/plain

Filename: PS_NITPICKS_20240909_TIMEOUT_V450001.txt
Type: text/plain
Part: 0
Message: Re: Introduce XID age and inactive timeout based replication slot invalidation
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 27b2285..97b4fb5 100644
--- a/doc/src/sgml/config.sgml
+++ b/doc/src/sgml/config.sgml
@@ -4582,7 +4582,7 @@ restore_command = 'copy "C:\\server\\archivedir\\%f" "%p"'  # Windows
        <para>
         Note that the inactive timeout invalidation mechanism is not
         applicable for slots on the standby server that are being synced
-        from primary server (i.e., standby slots having
+        from the primary server (i.e., standby slots having
         <link linkend="view-pg-replication-slots">pg_replication_slots</link>.<structfield>synced</structfield>
         value <literal>true</literal>).
         Synced slots are always considered to be inactive because they don't
diff --git a/src/backend/replication/slot.c b/src/backend/replication/slot.c
index d92b92b..8cc67b4 100644
--- a/src/backend/replication/slot.c
+++ b/src/backend/replication/slot.c
@@ -640,7 +640,7 @@ retry:
 				 errmsg("can no longer get changes from replication slot \"%s\"",
 						NameStr(s->data.name)),
 				 errdetail("This slot has been invalidated because it was inactive for longer than the amount of time specified by \"%s\".",
-						   "replication_slot_inactive_timeout.")));
+						   "replication_slot_inactive_timeout")));
 	}
 
 	/*