Code cleanup in SyncRepWaitForLSN()
authorSimon Riggs
Fri, 12 Aug 2016 11:49:38 +0000 (12:49 +0100)
committerSimon Riggs
Fri, 12 Aug 2016 11:49:38 +0000 (12:49 +0100)
commit4fc8e2315da3ee67538f55ce0c6aee3eee07e026
tree916eb6de65b3ea75e5c60e3d69e0f4f222db1a99
parent270c29f125f5b5d2a199fb98fdf9c289640093a3
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.
src/backend/replication/syncrep.c