Noah Bergbauer <n...@statshelix.com> writes: > I am working on a project where I do not want Postgres to reuse free space > in old pages (see > https://www.postgresql.org/message-id/flat/CABjy%2BRhbFu_Hs8ZEiOzaPaJSGB9jqFF0gDU5gtwCLiurG3NLjQ%40mail.gmail.com > for details). I found that the HEAP_INSERT_SKIP_FSM flag accomplishes this. > For a long-term solution I see two options: > 1. Introduce a reloption for this. > 2. Implement it as a custom table access method in an extension.
TBH, I can't believe that this is actually a good idea. If we introduce a reloption that does that, we'll just be getting users complaining about table bloat ... but probably only after they get to a state where it's going to be horribly painful to get out of. (My reaction to your previous thread was that it was simply a question of blindly insisting on using BRIN indexes for a case that they're quite badly adapted to. The better answer is to not use BRIN.) regards, tom lane