Skip to content

Commit e9a080d

Browse files
committed
Minor cleanups in slot related code.
Fix a bunch of typos, and remove two superflous includes. Author: Gurjeet Singh Discussion: CABwTF4Wh_dBCzTU=49pFXR6coR4NW1ynb+vBqT+Po=7fuq5iCw@mail.gmail.com Backpatch: 9.4
1 parent 3352c23 commit e9a080d

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

src/backend/replication/logical/logical.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,6 @@
2828

2929
#include "postgres.h"
3030

31-
#include <unistd.h>
32-
#include <sys/stat.h>
33-
3431
#include "miscadmin.h"
3532

3633
#include "access/xact.h"

src/backend/replication/slot.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -660,7 +660,7 @@ ReplicationSlotsComputeRequiredLSN(void)
660660
/*
661661
* Compute the oldest WAL LSN required by *logical* decoding slots..
662662
*
663-
* Returns InvalidXLogRecPtr if logical decoding is disabled or no logicals
663+
* Returns InvalidXLogRecPtr if logical decoding is disabled or no logical
664664
* slots exist.
665665
*
666666
* NB: this returns a value >= ReplicationSlotsComputeRequiredLSN(), since it
@@ -875,7 +875,7 @@ StartupReplicationSlots(void)
875875
}
876876

877877
/* ----
878-
* Manipulation of ondisk state of replication slots
878+
* Manipulation of on-disk state of replication slots
879879
*
880880
* NB: none of the routines below should take any notice whether a slot is the
881881
* current one or not, that's all handled a layer above.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy