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 08:01:38 +0000 (13:31 +0530)
commit206ae9bd5fcb0b3d07d8414521698717cb00fd60
tree8e85592e5c678f24b407adbb833799b460205edc
parent28dcb30a154e2ac18da679c12ae9a17b7ef6fa2f
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