]> granicus.if.org Git - postgresql/commit
Fix up pg_dump's treatment of large object ownership and ACLs. We now emit
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 18 Feb 2010 01:29:10 +0000 (01:29 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 18 Feb 2010 01:29:10 +0000 (01:29 +0000)
commitc0d5be5d6a736d2ee8141e920bc3de8e001bf6d9
treef46f456a6b66217164dae1cbc36f975bd9679a00
parent2b44d74dd4caa0d5cec2aeb0ceec7923b69109d3
Fix up pg_dump's treatment of large object ownership and ACLs.  We now emit
a separate archive entry for each BLOB, and use pg_dump's standard methods
for dealing with its ownership, ACL if any, and comment if any.  This means
that switches like --no-owner and --no-privileges do what they're supposed
to.  Preliminary testing says that performance is still reasonable even
with many blobs, though we'll have to see how that shakes out in the field.

KaiGai Kohei, revised by me
src/bin/pg_dump/dumputils.c
src/bin/pg_dump/pg_backup_archiver.c
src/bin/pg_dump/pg_backup_archiver.h
src/bin/pg_dump/pg_backup_db.c
src/bin/pg_dump/pg_backup_null.c
src/bin/pg_dump/pg_dump.c
src/bin/pg_dump/pg_dump.h
src/bin/pg_dump/pg_dump_sort.c