Обсуждение: pgsql: Fix contrib/pgstattuple and contrib/pageinspect to prevent

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

pgsql: Fix contrib/pgstattuple and contrib/pageinspect to prevent

От
tgl@postgresql.org (Tom Lane)
Дата:
Log Message:
-----------
Fix contrib/pgstattuple and contrib/pageinspect to prevent attempts to read
temporary tables of other sessions; that is unsafe because of the way our
buffer management works.  Per report from Stuart Bishop.
This is redundant with the bufmgr.c checks in HEAD, but not at all redundant
in the back branches.

Tags:
----
REL7_4_STABLE

Modified Files:
--------------
    pgsql/contrib/pgstattuple:
        pgstattuple.c (r1.12.4.1 -> r1.12.4.2)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/contrib/pgstattuple/pgstattuple.c?r1=1.12.4.1&r2=1.12.4.2)