pgsql: Assert that strong-lock count is >0 everywhere it's decremented.

Поиск
Список
Период
Сортировка
От Robert Haas
Тема pgsql: Assert that strong-lock count is >0 everywhere it's decremented.
Дата
Msg-id E1WXBKE-0001BV-MC@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Assert that strong-lock count is >0 everywhere it's decremented.

The one existing assertion of this type has tripped a few times in the
buildfarm lately, but it's not clear whether the problem is really
originating there or whether it's leftovers from a trip through one
of the other two paths that lack a matching assertion.  So add one.

Since the same bug(s) most likely exist(s) in the back-branches also,
back-patch to 9.2, where the fast-path lock mechanism was added.

Branch
------
REL9_3_STABLE

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

Modified Files
--------------
src/backend/storage/lmgr/lock.c |    2 ++
1 file changed, 2 insertions(+)


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

Предыдущее
От: Robert Haas
Дата:
Сообщение: pgsql: Assert that strong-lock count is >0 everywhere it's decremented.
Следующее
От: Robert Haas
Дата:
Сообщение: pgsql: Assert that strong-lock count is >0 everywhere it's decremented.