Do not dump DISTRIBUTED BY for partition and inherited table
authorPavan Deolasee <pavan.deolasee@gmail.com>
Fri, 27 Jul 2018 06:59:13 +0000 (12:29 +0530)
committerPavan Deolasee <pavan.deolasee@gmail.com>
Fri, 27 Jul 2018 07:51:17 +0000 (13:21 +0530)
commitc168cc8d58c6e0d9710ef0aba1b846b7174e0a79
tree4e1493a04abb15a38591f5cffa9894ac599f30d5
parent32025718755c4bbf100563fdc88e96225fc1b250
Do not dump DISTRIBUTED BY for partition and inherited table

Child tables inherit the distribition property from the parent table. Even
more, XL doesn't support a syntax of the form PARTITION OF .. DISTRIBUTED BY
and doesn't allow child tables to have a distribution property different than
the parent. So attaching this clause to the partition table does not make any
sense.

Per report from Virendra Kumar.
src/bin/pg_dump/pg_dump.c