diff options
author | Alexander Korotkov <akorotkov@postgresql.org> | 2024-04-11 15:46:35 +0300 |
---|---|---|
committer | Alexander Korotkov <akorotkov@postgresql.org> | 2024-04-11 15:46:35 +0300 |
commit | bc1e2092ebb857802a9713d0d3588079e2f0216a (patch) | |
tree | f55adc80b07150bcd7f5cbd50a9bfc89b3f301d6 /src/backend/access/heap/heapam.c | |
parent | 87840b9741864dfdb9f63b0056e2783cdb49b8a5 (diff) | |
download | postgresql-bc1e2092ebb857802a9713d0d3588079e2f0216a.tar.gz postgresql-bc1e2092ebb857802a9713d0d3588079e2f0216a.zip |
Revert: Custom reloptions for table AM
This commit reverts 9bd99f4c26 and 422041542f per review by Andres Freund.
Discussion: https://postgr.es/m/20240410165236.rwyrny7ihi4ddxw4%40awork3.anarazel.de
Diffstat (limited to 'src/backend/access/heap/heapam.c')
-rw-r--r-- | src/backend/access/heap/heapam.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/access/heap/heapam.c b/src/backend/access/heap/heapam.c index 4607505106d..08f6a10ac3d 100644 --- a/src/backend/access/heap/heapam.c +++ b/src/backend/access/heap/heapam.c @@ -2279,8 +2279,8 @@ heap_multi_insert(Relation relation, TupleTableSlot **slots, int ntuples, Assert(!(options & HEAP_INSERT_NO_LOGICAL)); needwal = RelationNeedsWAL(relation); - saveFreeSpace = HeapGetTargetPageFreeSpace(relation, - HEAP_DEFAULT_FILLFACTOR); + saveFreeSpace = RelationGetTargetPageFreeSpace(relation, + HEAP_DEFAULT_FILLFACTOR); /* Toast and set header data in all the slots */ heaptuples = palloc(ntuples * sizeof(HeapTuple)); |