diff options
author | Daniel Gustafsson <dgustafsson@postgresql.org> | 2023-04-28 10:30:05 +0200 |
---|---|---|
committer | Daniel Gustafsson <dgustafsson@postgresql.org> | 2023-04-28 10:30:05 +0200 |
commit | 4a6603cd4650a335ee38d894d7bbb452b1bf822f (patch) | |
tree | 31317110031eea7f044132c8e7d0fae6be99b4c6 /src/backend/parser/parse_utilcmd.c | |
parent | b72f564d87d10b5e5a91aedec605e48f80cb74ee (diff) | |
download | postgresql-4a6603cd4650a335ee38d894d7bbb452b1bf822f.tar.gz postgresql-4a6603cd4650a335ee38d894d7bbb452b1bf822f.zip |
Fix assertion failure in heap_vacuum_rel
Commit 7d71d3dd08 changed resetting the VacuumFailsafeActive flag to an
assertion since the flag is reset before starting vacuuming a relation.
This however failed to take recursive calls of vacuum_rel() and vacuum
of TOAST tables into consideration. Fix by reverting back to resettting
the flag.
Author: Masahiko Sawada <sawada.mshk@gmail.com>
Reviewed-by: Melanie Plageman <melanieplageman@gmail.com>
Reported-by: John Naylor <john.naylor@enterprisedb.com>
Discussion: https://postgr.es/m/CAFBsxsFz=GqaG5Ens5aNgVYoV2Y+pfMUijX0ku+CCkWfALwiqg@mail.gmail.com
Diffstat (limited to 'src/backend/parser/parse_utilcmd.c')
0 files changed, 0 insertions, 0 deletions