Restrict pgstattuple functions to superusers. While the only one that's

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

Commit: acb6631041e335789d9c214c8597c83b4bd8233f
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2007-08-28T23:11:12Z
Releases: 8.2.5
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.

Files

PathChange+/−
contrib/pgstattuple/pgstatindex.c modified +26 −0
contrib/pgstattuple/pgstattuple.c modified +12 −1