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:54:31 |
Message-ID: | 20090331225431.783AA754ADE@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.
Modified Files:
--------------
pgsql/contrib/pageinspect:
btreefuncs.c (r1.8 -> r1.9)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/contrib/pageinspect/btreefuncs.c?r1=1.8&r2=1.9)
rawpage.c (r1.10 -> r1.11)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/contrib/pageinspect/rawpage.c?r1=1.10&r2=1.11)
pgsql/contrib/pgstattuple:
pgstatindex.c (r1.11 -> r1.12)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/contrib/pgstattuple/pgstatindex.c?r1=1.11&r2=1.12)
pgstattuple.c (r1.36 -> r1.37)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/contrib/pgstattuple/pgstattuple.c?r1=1.36&r2=1.37)
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2009-03-31 22:54:52 | pgsql: Fix contrib/pgstattuple and contrib/pageinspect to prevent |
Previous Message | Bruce Momjian | 2009-03-31 22:23:29 | pgsql: Remove some "Other" sections in the release notes by putting the |