• Alvaro Herrera's avatar
    Keep track of transaction commit timestamps · 73c986ad
    Alvaro Herrera authored
    Transactions can now set their commit timestamp directly as they commit,
    or an external transaction commit timestamp can be fed from an outside
    system using the new function TransactionTreeSetCommitTsData().  This
    data is crash-safe, and truncated at Xid freeze point, same as pg_clog.
    
    This module is disabled by default because it causes a performance hit,
    but can be enabled in postgresql.conf requiring only a server restart.
    
    A new test in src/test/modules is included.
    
    Catalog version bumped due to the new subdirectory within PGDATA and a
    couple of new SQL functions.
    
    Authors: Álvaro Herrera and Petr Jelínek
    
    Reviewed to varying degrees by Michael Paquier, Andres Freund, Robert
    Haas, Amit Kapila, Fujii Masao, Jaime Casanova, Simon Riggs, Steven
    Singer, Peter Eisentraut
    73c986ad
rmgrlist.h 2.66 KB