]> granicus.if.org Git - postgresql/commit
Don't require sort support functions to provide a comparator.
authorRobert Haas <rhaas@postgresql.org>
Wed, 6 Aug 2014 20:06:06 +0000 (16:06 -0400)
committerRobert Haas <rhaas@postgresql.org>
Wed, 6 Aug 2014 20:06:06 +0000 (16:06 -0400)
commit1d41739e5a04b0e93304d24d864b6bfa3efc45f2
tree0aeb675cf674213c05cd893360ab95e1ca7d0ac3
parent873de34b710196d1e3ce593bd85fa24768e58d6b
Don't require sort support functions to provide a comparator.

This could be useful for datatypes like text, where we might want
to optimize for some collations but not others.  However, this patch
doesn't introduce any new sortsupport functions that work this way;
it merely revises the code so that future patches may do so.

Patch by me.  Review by Peter Geoghegan.
src/backend/executor/nodeMergejoin.c
src/backend/utils/cache/lsyscache.c
src/backend/utils/sort/sortsupport.c
src/include/utils/lsyscache.h