Fix contrib/pgstattuple and contrib/pageinspect to prevent attempts to read
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 31 Mar 2009 22:56:18 +0000 (22:56 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 31 Mar 2009 22:56:18 +0000 (22:56 +0000)
commit8d1c2ca39051126ef1a643f195ac6c0ddf83b20e
tree4b181e8d1195f5ed46c10d8752f164f6b6bc7255
parent9350a4ce202b9f37905fdb3409078bd1a56f17bd
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