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 Branch ------ REL_13_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/336879f5557e6bb1f6c8d7837fd8b87158441078 Modified Files -------------- src/backend/optimizer/path/equivclass.c | 8 +++++--- src/backend/optimizer/plan/createplan.c | 3 +++ 2 files changed, 8 insertions(+), 3 deletions(-)
