]> granicus.if.org Git - postgresql/commit
Fix contrib/pgstattuple and contrib/pageinspect to prevent attempts to read
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 31 Mar 2009 22:54:31 +0000 (22:54 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 31 Mar 2009 22:54:31 +0000 (22:54 +0000)
commitc029a6a49e3782ec5f1a61eb9a495ebd2a56077d
treefb92a2d210a1086b1fe7c4b83123c1f729ea57ec
parent572b60a3bd2af3c3ef75216cf6378025d7d317b1
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.
contrib/pageinspect/btreefuncs.c
contrib/pageinspect/rawpage.c
contrib/pgstattuple/pgstatindex.c
contrib/pgstattuple/pgstattuple.c