• Tom Lane's avatar
    Rewrite pg_dump's comment-dumping code to pull over all the comments · 05649b88
    Tom Lane authored
    in one query, rather than making a separate query for each object that
    could have a comment.  This costs relatively little space (a few tens of
    K typically) and saves substantial time in databases with many objects.
    I find it reduces the runtime of 'pg_dump -s regression' by about a
    third.
    05649b88
pg_dump.c 216 KB