Hi, Current pg_dump --exclude-table option excludes partitioned relation and dumps all its child relations and vice versa for --table option, which I think is incorrect.
In this case we might need to explore all partitions and exclude or include from dump according to given pg_dump option, attaching WIP patch proposing same fix. Thoughts/Comments? Regards, Amul
pg_dump_fix_for_partitioned_rel_wip.patch
Description: Binary data
-- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers