• Tom Lane's avatar
    WAL must log CREATE and DROP DATABASE operations *without* using any · cad86e25
    Tom Lane authored
    explicit paths, so that the log can be replayed in a data directory
    with a different absolute path than the original had.  To avoid forcing
    initdb in the 8.0 branch, continue to accept the old WAL log record
    types; they will never again be generated however, and the code can be
    dropped after the next forced initdb.  Per report from Oleg Bartunov.
    We still need to think about what it really means to WAL-log CREATE
    TABLESPACE commands: we more or less have to put the absolute path
    into those, but how to replay in a different context??
    cad86e25
dbcommands.h 2.3 KB