]> 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:52 +0000 (22:54 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 31 Mar 2009 22:54:52 +0000 (22:54 +0000)
commitb55266444783c0a9bbe96353b8e276dc12ff2958
tree48c97b1a97a96abf361170181dd5c8891c7c4a38
parent9a427cde74718a02abd9c699e1d2d4ee223584c7
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