Обсуждение: pgsql: Take buffer lock while inspecting btree index pages in contrib/p

Поиск
Список
Период
Сортировка

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

От
Tom Lane
Дата:
Take buffer lock while inspecting btree index pages in contrib/pageinspect.

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

Branch
------
REL9_0_STABLE

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

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