• Tom Lane's avatar
    Fix tablespace creation WAL replay to work on Windows. · abe075df
    Tom Lane authored
    The code segment that removes the old symlink (if present) wasn't clued
    into the fact that on Windows, symlinks are junction points which have
    to be removed with rmdir().
    
    Backpatch to 9.0, where the failing code was introduced.
    
    MauMau, reviewed by Muhammad Asif Naeem and Amit Kapila
    abe075df
tablespace.c 46.8 KB