pgsql: Volatile-qualify the ProcArray PGPROC pointer in a bunch of

Поиск
Список
Период
Сортировка
От tgl@postgresql.org (Tom Lane)
Тема pgsql: Volatile-qualify the ProcArray PGPROC pointer in a bunch of
Дата
Msg-id 20070905211119.15C78754201@cvs.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Log Message:
-----------
Volatile-qualify the ProcArray PGPROC pointer in a bunch of routines
that examine fields that could change under them.  This is just to make
really sure that when we are fetching a value 'only once', that's what
actually happens.  Possibly this is a bug that should be back-patched,
but in the absence of solid evidence that it's needed, I won't bother.

Modified Files:
--------------
    pgsql/src/backend/storage/ipc:
        procarray.c (r1.29 -> r1.30)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/storage/ipc/procarray.c?r1=1.29&r2=1.30)

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

Предыдущее
От: tgl@postgresql.org (Tom Lane)
Дата:
Сообщение: pgsql: Quick hack to make the VXID of a prepared transaction be -1/XID,
Следующее
От: momjian@postgresql.org (Bruce Momjian)
Дата:
Сообщение: pgsql: Done: < * Reduce XID consumption of read-only queries < <