mirror of
https://github.com/postgres/postgres.git
synced 2025-07-07 00:36:50 +03:00
Flag mmap implemenation of dynamic shared memory as resize-capable.
Error noted by Heikki Linnakangas
This commit is contained in:
@ -214,7 +214,7 @@ dsm_impl_can_resize(void)
|
|||||||
case DSM_IMPL_WINDOWS:
|
case DSM_IMPL_WINDOWS:
|
||||||
return false;
|
return false;
|
||||||
case DSM_IMPL_MMAP:
|
case DSM_IMPL_MMAP:
|
||||||
return false;
|
return true;
|
||||||
default:
|
default:
|
||||||
return false; /* should not happen */
|
return false; /* should not happen */
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user