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

Commit3b425b7

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 parentb861678 commit3b425b7

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
@@ -661,7 +661,7 @@ ReplicationSlotsComputeRequiredLSN(void)
661661
/*
662662
* Compute the oldest WAL LSN required by *logical* decoding slots..
663663
*
664-
* Returns InvalidXLogRecPtr if logical decoding is disabled or nologicals
664+
* Returns InvalidXLogRecPtr if logical decoding is disabled or nological
665665
* slots exist.
666666
*
667667
* NB: this returns a value >= ReplicationSlotsComputeRequiredLSN(), since it
@@ -876,7 +876,7 @@ StartupReplicationSlots(void)
876876
}
877877

878878
/* ----
879-
* Manipulation ofondisk state of replication slots
879+
* Manipulation ofon-disk state of replication slots
880880
*
881881
* NB: none of the routines below should take any notice whether a slot is the
882882
* current one or not, that's all handled a layer above.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp