Re: Strange failure in LWLock on skink in REL9_5_STABLE
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Thomas Munro <thomas.munro@enterprisedb.com>
Cc: Andres Freund <andres@anarazel.de>,
Pg Hackers <pgsql-hackers@postgresql.org>
Date: 2018-09-21T04:06:39Z
Lists: pgsql-hackers
Thomas Munro <thomas.munro@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
Commits
-
Remove some remaining traces of dsm_resize().
- 9e12fb02b7ec 12.0 landed
-
Remove dsm_resize() and dsm_remap().
- 3c60d0fa231f 12.0 landed
-
Allow DSM allocation to be interrupted.
- fb389498be5c 9.5.15 cited