pgsql: Make oldSnapshotControl a pointer to a volatile structure

Поиск
Список
Период
Сортировка
От Kevin Grittner
Тема pgsql: Make oldSnapshotControl a pointer to a volatile structure
Дата
Msg-id E1apijf-00080C-TQ@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Make oldSnapshotControl a pointer to a volatile structure

It was incorrectly declared as a volatile pointer to a non-volatile
structure.  Eliminate the OldSnapshotControl struct definition; it
is really not needed.  Pointed out by Tom Lane.

While at it, add OldSnapshotControlData to pgindent's list of
structures.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/80647bf65a03e232c995c0826ef394dad8d685fe

Modified Files
--------------
src/backend/utils/time/snapmgr.c | 8 +++-----
src/tools/pgindent/typedefs.list | 1 +
2 files changed, 4 insertions(+), 5 deletions(-)


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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: pgsql: Fix whitespace
Следующее
От: Kevin Grittner
Дата:
Сообщение: pgsql: Use static inline function for BufferGetPage()