Copy-edit comment.
authorRobert Haas <[email protected]>
Thu, 30 Jan 2014 01:17:17 +0000 (20:17 -0500)
committerRobert Haas <[email protected]>
Thu, 30 Jan 2014 01:17:17 +0000 (20:17 -0500)
src/bin/pg_basebackup/receivelog.c

index 6854e13b9caa2a6f8d5cc968f684095c61e27e86..7d3c76c9941d19712180d2638062ccadf6b23151 100644 (file)
@@ -538,8 +538,9 @@ ReceiveXlogStream(PGconn *conn, XLogRecPtr startpos, uint32 timeline,
                 * reporting the flush position makes one elegible as a synchronous
                 * replica. People shouldn't include generic names in
                 * synchronous_standby_names, but we've protected them against it so
-                * far, so lets continue to do so in the situations we don't need
-                * to. Without a slot reporting back wouldn't have any effect anyway.
+                * far, so let's continue to do so in the situations when possible.
+                * If they've got a slot, though, we need to report the flush position,
+                * so that the master can remove WAL.
                 */
                reportFlushPosition = true;
                sprintf(slotcmd, "SLOT \"%s\" ", replication_slot);