]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Improve find_em_expr_usable_for_sorting_rel comment
authorTomas Vondra <tomas.vondra@postgresql.org>
Tue, 22 Dec 2020 01:00:39 +0000 (02:00 +0100)
committerTomas Vondra <tomas.vondra@postgresql.org>
Tue, 22 Dec 2020 01:01:42 +0000 (02:01 +0100)
commit336879f5557e6bb1f6c8d7837fd8b87158441078
treed90dd6ad4d5e0cc9e73765f1d3872a7792b5522e
parentaa97890b6ec2ad07700c6e4825022ae3979ece7f
Improve find_em_expr_usable_for_sorting_rel comment

Clarify the relationship between find_em_expr_usable_for_sorting_rel and
prepare_sort_from_pathkeys, i.e. what restrictions need to be shared
between those two places.

Author: James Coleman
Reviewed-by: Tomas Vondra
Backpatch-through: 13
Discussion: https://postgr.es/m/CAAaqYe8cK3g5CfLC4w7bs%3DhC0mSksZC%3DH5M8LSchj5e5OxpTAg%40mail.gmail.com
src/backend/optimizer/path/equivclass.c
src/backend/optimizer/plan/createplan.c