Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Flag mmap implemenation of dynamic shared memory as resize-capable.
authorRobert Haas <rhaas@postgresql.org>
Mon, 2 Dec 2013 16:18:54 +0000 (11:18 -0500)
committerRobert Haas <rhaas@postgresql.org>
Mon, 2 Dec 2013 16:18:54 +0000 (11:18 -0500)
Error noted by Heikki Linnakangas

src/backend/storage/ipc/dsm_impl.c

index c876a84719e3193b97f48ffd841d48c9b4138518..7c346e6ce7c9e2cf1b13ebe380dd25a7bdff81ee 100644 (file)
@@ -214,7 +214,7 @@ dsm_impl_can_resize(void)
        case DSM_IMPL_WINDOWS:
            return false;
        case DSM_IMPL_MMAP:
-           return false;
+           return true;
        default:
            return false;       /* should not happen */
    }