Last week's patch for make_sort_from_pathkeys wasn't good enough: it has

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 1be0601681197fe79a2d2d403c518e7aeff1788a
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2007-11-08T19:25:37Z
Releases: 8.3.0
Last week's patch for make_sort_from_pathkeys wasn't good enough: it has
to be able to discard top-level RelabelType nodes on *both* sides of the
equivalence-class-to-target-list comparison, since make_pathkey_from_sortinfo
might either add or remove a RelabelType.  Also fix the latter to do the
removal case cleanly.  Per example from Peter.

Files