]> 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:56:28 +0000 (22:56 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 31 Mar 2009 22:56:28 +0000 (22:56 +0000)
commited00200dacf01264ed6116b2b2018b3de0a79a35
tree8d7ea1220571f7ffb4a1aab7ce0a52e9ccdfb71d
parente3c0d679dca9743805e2145f654d06e09950f2d3
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/pgstattuple/pgstattuple.c