mirror of
https://github.com/postgres/postgres.git
synced 2025-09-02 04:21:28 +03:00
Post-PG 10 beta1 pgindent run
perltidy run not included.
This commit is contained in:
@@ -502,8 +502,8 @@ ReplicationSlotDropPtr(ReplicationSlot *slot)
|
||||
/*
|
||||
* Rename the slot directory on disk, so that we'll no longer recognize
|
||||
* this as a valid slot. Note that if this fails, we've got to mark the
|
||||
* slot inactive before bailing out. If we're dropping an ephemeral or
|
||||
* a temporary slot, we better never fail hard as the caller won't expect
|
||||
* slot inactive before bailing out. If we're dropping an ephemeral or a
|
||||
* temporary slot, we better never fail hard as the caller won't expect
|
||||
* the slot to survive and this might get called during error handling.
|
||||
*/
|
||||
if (rename(path, tmppath) == 0)
|
||||
@@ -839,8 +839,8 @@ restart:
|
||||
for (i = 0; i < max_replication_slots; i++)
|
||||
{
|
||||
ReplicationSlot *s;
|
||||
char *slotname;
|
||||
int active_pid;
|
||||
char *slotname;
|
||||
int active_pid;
|
||||
|
||||
s = &ReplicationSlotCtl->replication_slots[i];
|
||||
|
||||
|
Reference in New Issue
Block a user