diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 1999-11-28 02:03:04 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 1999-11-28 02:03:04 +0000 |
commit | d2914c38b6c0b603c31af13c988cff7dcba5be79 (patch) | |
tree | 0ddfdb6d734610ac51d7b30ceac474620d587255 /src/backend/access/gist/giststrat.c | |
parent | 0ffe17aec61a14d27625899c221862651a502ab7 (diff) | |
download | postgresql-d2914c38b6c0b603c31af13c988cff7dcba5be79.tar.gz postgresql-d2914c38b6c0b603c31af13c988cff7dcba5be79.zip |
Delete pg_statistics rows for a relation during heap_destroy_with_catalog.
By dropping stats rows here, we eliminate the need for VACUUM to do a
wholesale remove of stats rows. Before, pg_statistics was wiped clean
at the start of VACUUM, ensuring poor planning results for any backends
running in parallel until VACUUM got around to rebuilding the stats for
the relations they are accessing.
Diffstat (limited to 'src/backend/access/gist/giststrat.c')
0 files changed, 0 insertions, 0 deletions