Further cleanup of ReorderBufferCommit().
authorTom Lane
Mon, 26 Jan 2015 03:49:59 +0000 (22:49 -0500)
committerTom Lane
Mon, 26 Jan 2015 03:49:59 +0000 (22:49 -0500)
commitf86a8955e8aae4da854e65b87b588e37ecb45918
tree39a8723ea8f78cb1eae8aff5ad5b93a7e92426cb
parent138a5c4a909dc96c0f3a95123639ee7e014c7f38
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".
src/backend/replication/logical/reorderbuffer.c