pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Code cleanup in SyncRepWaitForLSN()
2+ messages / 1 participants
[nested] [flat]

* pgsql: Code cleanup in SyncRepWaitForLSN()
@ 2016-08-12 11:50  Simon Riggs <simon@2ndQuadrant.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Simon Riggs @ 2016-08-12 11:50 UTC (permalink / raw)
  To: pgsql-committers

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.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/e05f6f75dbe00a7349dccf1116b5ed983b4728c0

Modified Files
--------------
src/backend/replication/syncrep.c | 18 +++++-------------
1 file changed, 5 insertions(+), 13 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* pgsql: Code cleanup in SyncRepWaitForLSN()
@ 2016-08-12 11:50  Simon Riggs <simon@2ndQuadrant.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Simon Riggs @ 2016-08-12 11:50 UTC (permalink / raw)
  To: pgsql-committers

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.

Branch
------
REL9_5_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/4fc8e2315da3ee67538f55ce0c6aee3eee07e026

Modified Files
--------------
src/backend/replication/syncrep.c | 18 +++++-------------
1 file changed, 5 insertions(+), 13 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2016-08-12 11:50 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2016-08-12 11:50 pgsql: Code cleanup in SyncRepWaitForLSN() Simon Riggs <simon@2ndQuadrant.com>
2016-08-12 11:50 pgsql: Code cleanup in SyncRepWaitForLSN() Simon Riggs <simon@2ndQuadrant.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox