Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite9a080d

Browse files
committed
Minor cleanups in slot related code.
Fix a bunch of typos, and remove two superflous includes.Author: Gurjeet SinghDiscussion: CABwTF4Wh_dBCzTU=49pFXR6coR4NW1ynb+vBqT+Po=7fuq5iCw@mail.gmail.comBackpatch: 9.4
1 parent3352c23 commite9a080d

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 nologicals
663+
* Returns InvalidXLogRecPtr if logical decoding is disabled or nological
664664
* slots exist.
665665
*
666666
* NB: this returns a value >= ReplicationSlotsComputeRequiredLSN(), since it
@@ -875,7 +875,7 @@ StartupReplicationSlots(void)
875875
}
876876

877877
/* ----
878-
* Manipulation ofondisk state of replication slots
878+
* Manipulation ofon-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)

[8]ページ先頭

©2009-2025 Movatter.jp