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)
commitb040fcf0e9c82c6f05d888ef3fceb492b3bb154c
treed84bdd7aa5b5dfdd3923832c58af30763028c43b
parent4ec08898eed16eae1a910f335ef2c7dc9473adbc
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