postgresql/src/backend/access
Daniel Gustafsson 4a6603cd46 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
2023-04-28 10:30:05 +02:00
..
brin Convert many uses of ReadBuffer[Extended](P_NEW) to ExtendBufferedRel() 2023-04-05 18:57:29 -07:00
common Fix custom validators call in build_local_reloptions() 2023-04-23 13:58:41 +03:00
gin Convert many uses of ReadBuffer[Extended](P_NEW) to ExtendBufferedRel() 2023-04-05 18:57:29 -07:00
gist Handle logical slot conflicts on standby 2023-04-08 00:05:44 -07:00
hash Handle logical slot conflicts on standby 2023-04-08 00:05:44 -07:00
heap Fix assertion failure in heap_vacuum_rel 2023-04-28 10:30:05 +02:00
index Add SysCacheGetAttrNotNull for guaranteed not-null attrs 2023-03-25 22:49:33 +01:00
nbtree Remove useless argument from nbtree dedup function. 2023-04-18 10:33:15 -07:00
rmgrdesc Use nbtdesc "level" field name consistently. 2023-04-19 12:15:15 -07:00
spgist Handle logical slot conflicts on standby 2023-04-08 00:05:44 -07:00
table Revert 11470f544e 2023-04-03 16:54:31 +03:00
tablesample Update copyright for 2023 2023-01-02 15:00:37 -05:00
transam Prevent underflow in KeepLogSeg(). 2023-04-27 14:31:17 -07:00
Makefile Introduce access/{table.h, relation.h}, for generic functions from heapam.h. 2019-01-21 10:51:36 -08:00
meson.build Update copyright for 2023 2023-01-02 15:00:37 -05:00