Restrict pgstattuple functions to superusers. While the only one that's
Tom Lane <tgl@sss.pgh.pa.us>
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
| Path | Change | +/− |
|---|---|---|
| contrib/pgstattuple/pgstatindex.c | modified | +26 −0 |
| contrib/pgstattuple/pgstattuple.c | modified | +12 −1 |