• Robert Haas's avatar
    Add flags argument to dsm_create. · 12968cf4
    Robert Haas authored
    Right now, there's only one flag, DSM_CREATE_NULL_IF_MAXSEGMENTS,
    which suppresses the error that would normally be thrown when the
    maximum number of segments already exists, instead returning NULL.
    It might be useful to add more flags in the future, such as one to
    ignore allocation errors, but I haven't done that here.
    12968cf4
dsm.c 31.4 KB