diff options
| author | Robert Haas | 2017-04-28 17:52:17 +0000 |
|---|---|---|
| committer | Robert Haas | 2017-04-28 17:52:17 +0000 |
| commit | 504c2205abc7de67386f9c95630f38ee15626f07 (patch) | |
| tree | aa9c17b2e349678b1eba48532b6588d6a9236473 /src/include | |
| 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/include')
| -rw-r--r-- | src/include/nodes/parsenodes.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/nodes/parsenodes.h b/src/include/nodes/parsenodes.h index 9f57388781..e1d454a07d 100644 --- a/src/include/nodes/parsenodes.h +++ b/src/include/nodes/parsenodes.h @@ -643,6 +643,7 @@ typedef struct ColumnDef bool is_local; /* column has local (non-inherited) def'n */ bool is_not_null; /* NOT NULL constraint specified? */ bool is_from_type; /* column definition came from table type */ + bool is_from_parent; /* column def came from partition parent */ char storage; /* attstorage setting, or 0 for default */ Node *raw_default; /* default value (untransformed parse tree) */ Node *cooked_default; /* default value (transformed expr tree) */ |
