Restrict pgstattuple functions to superusers. While the only one that's
authorTom Lane <[email protected]>
Tue, 28 Aug 2007 23:11:12 +0000 (23:11 +0000)
committerTom Lane <[email protected]>
Tue, 28 Aug 2007 23:11:12 +0000 (23:11 +0000)
commit5e80aec3358ccedec368c7ffea447e71537adcef
tree2236d857432beb628ac28bac29934cda22da01d0
parent10a5b3d62fd5e12c8ca195ac816c01da80858b4b
Restrict pgstattuple functions to superusers.  While the only one that's
really a glaring security hole is bt_page_items, there's not a very good
use-case for letting ordinary users use 'em, either.
contrib/pgstattuple/pgstatindex.c
contrib/pgstattuple/pgstattuple.c