pgsql: Further cleanup of ReorderBufferCommit().

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Further cleanup of ReorderBufferCommit().
Дата
Msg-id E1YFagj-0002Gy-4F@gemulon.postgresql.org
обсуждение исходный текст
Список 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(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Further cleanup of ReorderBufferCommit().
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Fix volatile-safety issue in asyncQueueReadAllNotifications().