]> granicus.if.org Git - postgresql/commit
Code cleanup in SyncRepWaitForLSN()
authorSimon Riggs <simon@2ndQuadrant.com>
Fri, 12 Aug 2016 11:43:45 +0000 (12:43 +0100)
committerSimon Riggs <simon@2ndQuadrant.com>
Fri, 12 Aug 2016 11:43:45 +0000 (12:43 +0100)
commite05f6f75dbe00a7349dccf1116b5ed983b4728c0
tree1659f98c6a534280b300ea42fde7325cd78d66a2
parent6e75559ea9cb0bc8fd07543567cd02d4ec85ca20
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