• Andres Freund's avatar
    Fix assertion failure due to over-eager code deduplication. · 123ccbe5
    Andres Freund authored
    In the previous commit I'd made MemoryContextContains() use
    GetMemoryChunkContext(), but that causes trouble when the passed
    pointer isn't allocated in any memory context - that's probably
    something we shouldn't do, but the previous commit isn't a place for a
    "policy" change.
    123ccbe5
mcxt.c 30.5 KB