• Fujii Masao's avatar
    Remove COMMIT_TS_SETTS record. · 08aa89b3
    Fujii Masao authored
    Commit 438fc4a3 prevented the WAL replay from writing
    COMMIT_TS_SETTS record. By this change there is no code that
    generates COMMIT_TS_SETTS record in PostgreSQL core.
    Also we can think that there are no extensions using the record
    because we've not received so far any complaints about the issue
    that commit 438fc4a3 fixed. Therefore this commit removes
    COMMIT_TS_SETTS record and its related code. Even without
    this record, the timestamp required for commit timestamp feature
    can be acquired from the COMMIT record.
    
    Bump WAL page magic.
    Reported-by: default avatarlx zou <zoulx1982@163.com>
    Author: Fujii Masao
    Reviewed-by: Alvaro Herrera
    Discussion: https://postgr.es/m/16931-620d0f2fdc6108f1@postgresql.org
    08aa89b3
twophase.c 70.3 KB