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

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix contrib/pgstattuple and contrib/pageinspect to prevent
Date: 2009-03-31 22:56:06
Message-ID: 20090331225606.0A92F754AE1@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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:
----
REL8_1_STABLE

Modified Files:
--------------
pgsql/contrib/pgstattuple:
pgstattuple.c (r1.20 -> r1.20.2.1)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/contrib/pgstattuple/pgstattuple.c?r1=1.20&r2=1.20.2.1)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2009-03-31 22:56:18 pgsql: Fix contrib/pgstattuple and contrib/pageinspect to prevent
Previous Message Tom Lane 2009-03-31 22:55:41 pgsql: Fix contrib/pgstattuple and contrib/pageinspect to prevent