Обсуждение: 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
------
REL8_4_STABLE

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

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