diff options
author | Amit Kapila <akapila@postgresql.org> | 2019-01-28 11:31:44 +0530 |
---|---|---|
committer | Amit Kapila <akapila@postgresql.org> | 2019-01-28 11:31:44 +0530 |
commit | a23676503b746b7f1588cd2ab0c60411032d32da (patch) | |
tree | ac7f172ec94771441558639e0725e6d56d6e7b47 /src/backend/access/transam/xact.c | |
parent | ac88d2962a96a9c7e83d5acfc28fe49a72812086 (diff) | |
download | postgresql-a23676503b746b7f1588cd2ab0c60411032d32da.tar.gz postgresql-a23676503b746b7f1588cd2ab0c60411032d32da.zip |
Revert "Avoid creation of the free space map for small heap relations."
This reverts commit ac88d2962a96a9c7e83d5acfc28fe49a72812086.
Diffstat (limited to 'src/backend/access/transam/xact.c')
-rw-r--r-- | src/backend/access/transam/xact.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/backend/access/transam/xact.c b/src/backend/access/transam/xact.c index 92bda878043..0181976964c 100644 --- a/src/backend/access/transam/xact.c +++ b/src/backend/access/transam/xact.c @@ -48,7 +48,6 @@ #include "replication/walsender.h" #include "storage/condition_variable.h" #include "storage/fd.h" -#include "storage/freespace.h" #include "storage/lmgr.h" #include "storage/predicate.h" #include "storage/proc.h" @@ -2494,12 +2493,6 @@ AbortTransaction(void) pgstat_report_wait_end(); pgstat_progress_end_command(); - /* - * In case we aborted during RelationGetBufferForTuple(), clear the local - * map of heap pages. - */ - FSMClearLocalMap(); - /* Clean up buffer I/O and buffer context locks, too */ AbortBufferIO(); UnlockBuffers(); @@ -4721,13 +4714,6 @@ AbortSubTransaction(void) pgstat_report_wait_end(); pgstat_progress_end_command(); - - /* - * In case we aborted during RelationGetBufferForTuple(), clear the local - * map of heap pages. - */ - FSMClearLocalMap(); - AbortBufferIO(); UnlockBuffers(); |