Rewrite pg_dump's comment-dumping code to pull over all the comments
authorTom Lane
Sat, 20 Mar 2004 20:09:45 +0000 (20:09 +0000)
committerTom Lane
Sat, 20 Mar 2004 20:09:45 +0000 (20:09 +0000)
commit05649b88c7f9ae7dfedc239762f1bcecc61d869b
tree337c89220ee77104873263d42ef02711868f121d
parentc8aaa5ceecfcc021fbd157411c55f12ec899c5f8
Rewrite pg_dump's comment-dumping code to pull over all the comments
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.
src/bin/pg_dump/pg_dump.c