aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/jsonfuncs.c
diff options
context:
space:
mode:
authorTomas Vondra <tomas.vondra@postgresql.org>2020-12-21 18:16:16 +0100
committerTomas Vondra <tomas.vondra@postgresql.org>2020-12-21 18:16:36 +0100
commitea190ed14b4b75b38a490707d5d08231dcacfb8c (patch)
treeb477d11e0e979ae28a991483344fad2dce8eacae /src/backend/utils/adt/jsonfuncs.c
parentbd6939a4e22ff5cc4ed77eec2c3c2d4c58ea2143 (diff)
downloadpostgresql-ea190ed14b4b75b38a490707d5d08231dcacfb8c.tar.gz
postgresql-ea190ed14b4b75b38a490707d5d08231dcacfb8c.zip
Consider unsorted paths in generate_useful_gather_paths
generate_useful_gather_paths used to skip unsorted paths (without any pathkeys), but that is unnecessary - the later code actually can handle such paths just fine by adding a Sort node. This is clearly a thinko, preventing construction of useful plans. Backpatch to 13, where Incremental Sort was introduced. Author: James Coleman Reviewed-by: Tomas Vondra Backpatch-through: 13 Discussion: https://postgr.es/m/CAAaqYe8cK3g5CfLC4w7bs=hC0mSksZC=H5M8LSchj5e5OxpTAg@mail.gmail.com
Diffstat (limited to 'src/backend/utils/adt/jsonfuncs.c')
0 files changed, 0 insertions, 0 deletions