• Robert Haas's avatar
    Add a new reloption, user_catalog_table. · 66abc260
    Robert Haas authored
    When this reloption is set and wal_level=logical is configured,
    we'll record the CIDs stamped by inserts, updates, and deletes to
    the table just as we would for an actual catalog table.  This will
    allow logical decoding to use historical MVCC snapshots to access
    such tables just as they access ordinary catalog tables.
    
    Replication solutions built around the logical decoding machinery
    will likely need to set this operation for their configuration
    tables; it might also be needed by extensions which perform table
    access in their output functions.
    
    Andres Freund, reviewed by myself and others.
    66abc260
tablecmds.c 329 KB