Remove dsm_resize() and dsm_remap().
authorThomas Munro <tmunro@postgresql.org>
Tue, 6 Nov 2018 03:11:12 +0000 (16:11 +1300)
committerThomas Munro <tmunro@postgresql.org>
Tue, 6 Nov 2018 03:11:12 +0000 (16:11 +1300)
commit3c60d0fa231f7699af5dd83345919d0423305973
tree638007a0e243ad795b9eac0b95b7eff39c14fe16
parentb0a1ff8a6a01163f830490e6c542ff852d240690
Remove dsm_resize() and dsm_remap().

These interfaces were never used in core, didn't handle failure of
posix_fallocate() correctly and weren't supported on all platforms.
We agreed to remove them in 12.

Author: Thomas Munro
Reported-by: Andres Freund
Discussion: https://postgr.es/m/CAA4eK1%2B%3DyAFUvpFoHXFi_gm8YqmXN-TtkFH%2BVYjvDLS6-SFq-Q%40mail.gmail.com
src/backend/storage/ipc/dsm.c
src/backend/storage/ipc/dsm_impl.c
src/include/storage/dsm.h
src/include/storage/dsm_impl.h