Fix contrib/pgstattuple and contrib/pageinspect to prevent attempts to read

Tom Lane <tgl@sss.pgh.pa.us>

Commit: c029a6a49e3782ec5f1a61eb9a495ebd2a56077d
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2009-03-31T22:54:31Z
Releases: 8.4.0
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.

Files