1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-26 01:22:12 +03:00

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
This commit is contained in:
Andres Freund
2015-08-11 12:32:49 +02:00
parent 3352c23a61
commit e9a080d369
2 changed files with 2 additions and 5 deletions

View File

@ -28,9 +28,6 @@
#include "postgres.h"
#include <unistd.h>
#include <sys/stat.h>
#include "miscadmin.h"
#include "access/xact.h"

View File

@ -660,7 +660,7 @@ ReplicationSlotsComputeRequiredLSN(void)
/*
* Compute the oldest WAL LSN required by *logical* decoding slots..
*
* Returns InvalidXLogRecPtr if logical decoding is disabled or no logicals
* Returns InvalidXLogRecPtr if logical decoding is disabled or no logical
* slots exist.
*
* NB: this returns a value >= ReplicationSlotsComputeRequiredLSN(), since it
@ -875,7 +875,7 @@ StartupReplicationSlots(void)
}
/* ----
* Manipulation of ondisk state of replication slots
* Manipulation of on-disk state of replication slots
*
* NB: none of the routines below should take any notice whether a slot is the
* current one or not, that's all handled a layer above.