]> granicus.if.org Git - postgresql/commit
Rethink order of operations for dumping extension member objects.
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 9 Feb 2011 19:05:34 +0000 (14:05 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 9 Feb 2011 19:05:34 +0000 (14:05 -0500)
commit183d3cff850eee12357b8b4a8c5e62362ba5d8cc
tree1c81df6fe408d415444005b7ac6adf99581832d5
parent5bc178b89f3ab93fb3845a941769c212f5eeaf1a
Rethink order of operations for dumping extension member objects.

My original idea of doing extension member identification during
getDependencies() didn't work correctly: we have to mark member tables as
not-to-be-dumped rather earlier than that, else their subsidiary objects
like indexes get dumped anyway.  Rearrange code to mark them early enough.
src/bin/pg_dump/common.c
src/bin/pg_dump/pg_dump.c
src/bin/pg_dump/pg_dump.h