Skip to content

Commit c6d4b1d

Browse files
committed
Flag mmap implemenation of dynamic shared memory as resize-capable.
Error noted by Heikki Linnakangas
1 parent a8656a3 commit c6d4b1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/storage/ipc/dsm_impl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ dsm_impl_can_resize(void)
214214
case DSM_IMPL_WINDOWS:
215215
return false;
216216
case DSM_IMPL_MMAP:
217-
return false;
217+
return true;
218218
default:
219219
return false; /* should not happen */
220220
}

0 commit comments

Comments
 (0)