mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
Revert "Avoid creation of the free space map for small heap relations."
This reverts commit ac88d2962a
.
This commit is contained in:
@ -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();
|
||||
|
||||
|
Reference in New Issue
Block a user