Restrict pgrowlocks function to superusers. (This might be too strict,
Tom Lane <tgl@sss.pgh.pa.us>
Restrict pgrowlocks function to superusers. (This might be too strict, but no permissions check at all is certainly no good.) Clean up usage of some deprecated APIs.
Files
| Path | Change | +/− |
|---|---|---|
| contrib/pgrowlocks/pgrowlocks.c | modified | +15 −35 |
| contrib/pgrowlocks/pgrowlocks.sql.in | modified | +9 −12 |
| contrib/pgrowlocks/README.pgrowlocks | modified | +2 −12 |
| contrib/pgrowlocks/uninstall_pgrowlocks.sql | modified | +0 −2 |