2 Commits

Author SHA1 Message Date
Sven Klemm
a19be04d7b Handle Sort nodes in ConstraintAwareAppend
When a MergeAppendPath has children that do not produce sorted
output a Sort node will be injected during plan creation, those
plans would trigger an error about invalid child nodes in
ConstraintAwareAppend. This PR makes ConstraintAwareAppend handle
those plans correctly.
2020-03-10 14:19:57 +01:00
gayyappan
8864239187 Fix segment_by var for decompress chunk node
Fix order by queries on compressed hypertables that
have char segment by column.
The segment by var column for decompressed chunks should be
created after setting the typmod and collation ids. Otherwise, we
get failures with char datatypes while decompressing.

Fixes #1650
2020-02-14 23:30:12 -05:00