Ensure that EquivalenceClasses generated from ORDER BY keys contain proper
RelabelType nodes when the sort key is binary-compatible with the sort
operator rather than having exactly its input type. We did this correctly
for index columns but not sort keys, leading to failure to notice that
a varchar index matches an ORDER BY request. This requires a bit more work
in make_sort_from_pathkeys, but not anyplace else that I can find.
Per bug report and subsequent discussion.
pathkeys.c (r1.86 -> r1.87)
createplan.c (r1.231 -> r1.232)
pgsql-committers by date
|Next:||From: User Hinoue||Date: 2007-11-02 23:01:42|
|Subject: psqlodbc - psqlodbc: I may have introduced a bug in the last change |
|Previous:||From: User Gleu||Date: 2007-11-02 16:18:07|
|Subject: pginstaller - pginst: Update french translation.|