Thread: pgsql: Fix contrib/pgstattuple and contrib/pageinspect to prevent
pgsql: Fix contrib/pgstattuple and contrib/pageinspect to prevent
From
tgl@postgresql.org (Tom Lane)
Date:
Log Message: ----------- 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. Modified Files: -------------- pgsql/contrib/pageinspect: btreefuncs.c (r1.8 -> r1.9) (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/contrib/pageinspect/btreefuncs.c?r1=1.8&r2=1.9) rawpage.c (r1.10 -> r1.11) (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/contrib/pageinspect/rawpage.c?r1=1.10&r2=1.11) pgsql/contrib/pgstattuple: pgstatindex.c (r1.11 -> r1.12) (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/contrib/pgstattuple/pgstatindex.c?r1=1.11&r2=1.12) pgstattuple.c (r1.36 -> r1.37) (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/contrib/pgstattuple/pgstattuple.c?r1=1.36&r2=1.37)