diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 1999-11-29 04:43:15 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 1999-11-29 04:43:15 +0000 |
commit | d367f626f410ad06648c6c18f836781413e87f76 (patch) | |
tree | 8f5a3e8600aec479cdf0216d0d591e5269e8e6e2 /src/backend/access/gist/gistget.c | |
parent | 8a7f31a7d87b100bc27ddb379c680e37f9aa51fe (diff) | |
download | postgresql-d367f626f410ad06648c6c18f836781413e87f76.tar.gz postgresql-d367f626f410ad06648c6c18f836781413e87f76.zip |
Add permissions check: now one must be the Postgres superuser or the
table owner in order to vacuum a table. This is mainly to prevent
denial-of-service attacks via repeated vacuums. Allow VACUUM to gather
statistics about system relations, except for pg_statistic itself ---
not clear that it's worth the trouble to make that case work cleanly.
Cope with possible tuple size overflow in pg_statistic tuples; I'm
surprised we never realized that could happen. Hold a couple of locks
a little longer to try to prevent deadlocks between concurrent VACUUMs.
There still seem to be some problems in that last area though :-(
Diffstat (limited to 'src/backend/access/gist/gistget.c')
0 files changed, 0 insertions, 0 deletions