• Peter Eisentraut's avatar
    pg_dump: Separate table and sequence data object types · 27d2c123
    Peter Eisentraut authored
    Instead of handling both sequence data and table data internally as
    "table data", handle sequences separately under a "sequence set" type.
    We already handled materialized view data differently, so it makes the
    code somewhat cleaner to handle each relation kind separately at the top
    level.
    
    This does not change the output format, since there already was a
    separate "SEQUENCE SET" archive entry type.  A noticeable difference is
    that SEQUENCE SET entries now always appear after TABLE DATA entries.
    And in parallel mode there is less sorting to do, because the sequence
    data entries are no longer considered table data.
    Reviewed-by: default avatarAnastasia Lubennikova <a.lubennikova@postgrespro.ru>
    Reviewed-by: default avatarMichael Paquier <michael.paquier@gmail.com>
    27d2c123
pg_dump.c 493 KB