• Tom Lane's avatar
    Speed up printing of INSERT statements in pg_dump. · 97e1ec46
    Tom Lane authored
    In --inserts and especially --column-inserts mode, we can get a useful
    speedup by generating the common prefix of all a table's INSERT commands
    just once, and then printing the prebuilt string for each row.  This avoids
    multiple invocations of fmtId() and other minor fooling around.
    
    David Rowley
    97e1ec46
pg_dump.c 453 KB