Improve find_em_expr_usable_for_sorting_rel comment

Tomas Vondra <tomas.vondra@postgresql.org>

Commit: 336879f5557e6bb1f6c8d7837fd8b87158441078
Author: Tomas Vondra <tomas.vondra@postgresql.org>
Date: 2020-12-22T01:01:42Z
Releases: 13.2
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

Files

Discussion