Thomas Munro <thomas.mu...@enterprisedb.com> writes: > ... There may be ways to fix the dsm_resize() path > based on the observation that you don't need to fallocate() if you > made the mapping smaller, and if you made it bigger then you could > always undo that on error (or not) and you haven't thrown away any > data. Hmm... I note that there are actually no callers of > dsm_resize(), and it's not implemented on Windows or SystemV.
Why would we fix it rather than just removing it? regards, tom lane