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

* pgsql: Further cleanup of ReorderBufferCommit().
@ 2015-01-26 03:50  Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 2+ messages in thread

From: Tom Lane @ 2015-01-26 03:50 UTC (permalink / raw)
  To: pgsql-committers

Further cleanup of ReorderBufferCommit().

On closer inspection, we can remove the "volatile" qualifier on
"using_subtxn" so long as we initialize that before the PG_TRY block,
which there's no particularly good reason not to do.
Also, push the "change" variable inside the PG_TRY so as to remove
all question of whether it needs "volatile", and remove useless
early initializations of "snapshow_now" and "using_subtxn".

Branch
------
REL9_4_STABLE

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

Modified Files
--------------
src/backend/replication/logical/reorderbuffer.c |   34 +++++++++++------------
1 file changed, 17 insertions(+), 17 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: Further cleanup of ReorderBufferCommit().
@ 2015-01-26 03:50  Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 2+ messages in thread

From: Tom Lane @ 2015-01-26 03:50 UTC (permalink / raw)
  To: pgsql-committers

Further cleanup of ReorderBufferCommit().

On closer inspection, we can remove the "volatile" qualifier on
"using_subtxn" so long as we initialize that before the PG_TRY block,
which there's no particularly good reason not to do.
Also, push the "change" variable inside the PG_TRY so as to remove
all question of whether it needs "volatile", and remove useless
early initializations of "snapshow_now" and "using_subtxn".

Branch
------
master

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

Modified Files
--------------
src/backend/replication/logical/reorderbuffer.c |   34 +++++++++++------------
1 file changed, 17 insertions(+), 17 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:[~2015-01-26 03:50 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2015-01-26 03:50 pgsql: Further cleanup of ReorderBufferCommit(). Tom Lane <tgl@sss.pgh.pa.us>
2015-01-26 03:50 pgsql: Further cleanup of ReorderBufferCommit(). Tom Lane <tgl@sss.pgh.pa.us>

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