pg_dump: Fix dump of generated columns in partitions
authorPeter Eisentraut <peter@eisentraut.org>
Tue, 4 May 2021 12:03:54 +0000 (14:03 +0200)
committerPeter Eisentraut <peter@eisentraut.org>
Tue, 4 May 2021 12:18:23 +0000 (14:18 +0200)
commita6a3a274abd1368a0104fe2cfc7227c9a7e95970
tree6c9a4bfe85a0d85fe082443f7cd55e526d949790
parent64190d65f2995203df401738b77adc5ebd4d2fce
pg_dump: Fix dump of generated columns in partitions

The previous fix for dumping of inherited generated columns
(0bf83648a52df96f7c8677edbbdf141bfa0cf32b) must not be applied to
partitions, since, unlike normal inherited tables, they are always
dumped separately and reattached.

Reported-by: Santosh Udupi <email@hitha.net>
Discussion: https://www.postgresql.org/message-id/flat/CACLRvHZ4a-%2BSM_159%2BtcrHdEqxFrG%3DW4gwTRnwf7Oj0UNj5R2A%40mail.gmail.com
src/bin/pg_dump/common.c