summaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistutil.c
diff options
context:
space:
mode:
authorDavid Rowley <drowley@postgresql.org>2023-04-06 12:37:03 +1200
committerDavid Rowley <drowley@postgresql.org>2023-04-06 12:37:03 +1200
commitbccd6908ca82c6cba0c76b669bc81fc9f3fb60cd (patch)
tree281bb4d68669793ef53c9435361f3cd90e3bee1b /src/backend/access/gist/gistutil.c
parent1d477a907e63941b58508136f92ac0b5058b68ab (diff)
downloadpostgresql-bccd6908ca82c6cba0c76b669bc81fc9f3fb60cd.tar.gz
Always make a BufferAccessStrategy for ANALYZE
32fbe0239 changed things so we didn't bother allocating the BufferAccessStrategy during VACUUM (ONLY_DATABASE_STATS); and VACUUM (FULL), however, it forgot to consider that VACUUM (FULL, ANALYZE) is a possible combination. That change would have resulted in such a command allowing ANALYZE to make full use of shared buffers, which wasn't intended, so fix that. Reported-by: Melanie Plageman Discussion: https://postgr.es/m/CAAKRu_bJRKe+v_=OqwC+5sA3j5qv8rqdAwy3+yHaO3wmtfrCRg@mail.gmail.com
Diffstat (limited to 'src/backend/access/gist/gistutil.c')
0 files changed, 0 insertions, 0 deletions