Code cleanup in SyncRepWaitForLSN()

Simon Riggs <simon@2ndQuadrant.com>

Commit: 4fc8e2315da3ee67538f55ce0c6aee3eee07e026
Author: Simon Riggs <simon@2ndQuadrant.com>
Date: 2016-08-12T11:49:38Z
Releases: 9.5.5
Code cleanup in SyncRepWaitForLSN()

Commit 14e8803f1 removed LWLocks when accessing MyProc->syncRepState
but didn't clean up the surrounding code and comments.

Cleanup and backpatch to 9.5, to keep code similar.

Julien Rouhaud, improved by suggestion from Michael Paquier,
implemented trivially by myself.

Files

PathChange+/−
src/backend/replication/syncrep.c modified +5 −13