]> 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:05 +0000 (22:56 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 31 Mar 2009 22:56:05 +0000 (22:56 +0000)
commitaf4ebb272e21dec5cb59223ea2ac95d82900ad77
treed8228f29786b190abaf7e9b01028dd29721ba9d6
parent7daa32daa9b28668ac12dac2d779df2648448cdc
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