mirror of
https://github.com/postgres/postgres.git
synced 2025-09-02 04:21:28 +03:00
Initial pgindent and pgperltidy run for v13.
Includes some manual cleanup of places that pgindent messed up,
most of which weren't per project style anyway.
Notably, it seems some people didn't absorb the style rules of
commit c9d297751
, because there were a bunch of new occurrences
of function calls with a newline just after the left paren, all
with faulty expectations about how the rest of the call would get
indented.
This commit is contained in:
@@ -425,10 +425,9 @@ pg_physical_replication_slot_advance(XLogRecPtr moveto)
|
||||
retlsn = moveto;
|
||||
|
||||
/*
|
||||
* Dirty the slot so as it is written out at the next checkpoint.
|
||||
* Note that the LSN position advanced may still be lost in the
|
||||
* event of a crash, but this makes the data consistent after a
|
||||
* clean shutdown.
|
||||
* Dirty the slot so as it is written out at the next checkpoint. Note
|
||||
* that the LSN position advanced may still be lost in the event of a
|
||||
* crash, but this makes the data consistent after a clean shutdown.
|
||||
*/
|
||||
ReplicationSlotMarkDirty();
|
||||
}
|
||||
@@ -532,9 +531,9 @@ pg_logical_replication_slot_advance(XLogRecPtr moveto)
|
||||
* keep track of their progress, so we should make more of an
|
||||
* effort to save it for them.
|
||||
*
|
||||
* Dirty the slot so it is written out at the next checkpoint.
|
||||
* The LSN position advanced to may still be lost on a crash
|
||||
* but this makes the data consistent after a clean shutdown.
|
||||
* Dirty the slot so it is written out at the next checkpoint. The
|
||||
* LSN position advanced to may still be lost on a crash but this
|
||||
* makes the data consistent after a clean shutdown.
|
||||
*/
|
||||
ReplicationSlotMarkDirty();
|
||||
}
|
||||
|
Reference in New Issue
Block a user