pgsql: Take buffer lock while inspecting btree index pages in contrib/p

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Take buffer lock while inspecting btree index pages in contrib/p
Дата
Msg-id E1TeYgb-0005pA-Rp@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Take buffer lock while inspecting btree index pages in contrib/pageinspect.

It's not safe to examine a shared buffer without any lock.

Branch
------
REL8_3_STABLE

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

Modified Files
--------------
contrib/pageinspect/btreefuncs.c |   20 +++++++++++---------
1 files changed, 11 insertions(+), 9 deletions(-)


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: pgsql: Split initdb.c main() code into multiple functions, for easier
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Take buffer lock while inspecting btree index pages in contrib/p