diff options
author | Robert Haas <rhaas@postgresql.org> | 2017-04-28 13:52:17 -0400 |
---|---|---|
committer | Robert Haas <rhaas@postgresql.org> | 2017-04-28 13:52:17 -0400 |
commit | 504c2205abc7de67386f9c95630f38ee15626f07 (patch) | |
tree | aa9c17b2e349678b1eba48532b6588d6a9236473 /src/backend/nodes/copyfuncs.c | |
parent | e3cf708016ca6045dc1cd5a0768cfecf17caf3d1 (diff) |
Fix crash when partitioned column specified twice.
Amit Langote, reviewed by Beena Emerson
Discussion: http://postgr.es/m/6ed23d3d-c09d-4cbc-3628-0a8a32f750f4@lab.ntt.co.jp
Diffstat (limited to 'src/backend/nodes/copyfuncs.c')
-rw-r--r-- | src/backend/nodes/copyfuncs.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/backend/nodes/copyfuncs.c b/src/backend/nodes/copyfuncs.c index 00a0fed23d4..8fb872d2884 100644 --- a/src/backend/nodes/copyfuncs.c +++ b/src/backend/nodes/copyfuncs.c @@ -2804,6 +2804,7 @@ _copyColumnDef(const ColumnDef *from) COPY_SCALAR_FIELD(is_local); COPY_SCALAR_FIELD(is_not_null); COPY_SCALAR_FIELD(is_from_type); + COPY_SCALAR_FIELD(is_from_parent); COPY_SCALAR_FIELD(storage); COPY_NODE_FIELD(raw_default); COPY_NODE_FIELD(cooked_default); |