mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-09-06 21:59:20 +02:00
would close and then re-open rel being truncated. Depending on the luck of the draw, the re-opened relcache entry might or might not be at the same physical location as before. Unfortunately, if it wasn't then heap_truncate would crash and burn, because it still had a pointer at the old location. Fix is to open and then close rel in RelationTruncateIndexes, so that rel's refcount never goes to zero until heap_truncate is done. |
||
---|---|---|
.. | ||
backend | ||
bin | ||
corba | ||
data | ||
include | ||
interfaces | ||
makefiles | ||
pl | ||
template | ||
test | ||
tools | ||
tutorial | ||
utils | ||
DEVELOPERS | ||
GNUmakefile.in | ||
Makefile | ||
Makefile.global.in | ||
Makefile.shlib | ||
win32.mak |