From: | Robert Haas <rhaas(at)postgresql(dot)org> |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Don't require sort support functions to provide a comparator. |
Date: | 2014-08-06 20:08:25 |
Message-ID: | E1XF7VZ-0004Eu-SB@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
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.
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/1d41739e5a04b0e93304d24d864b6bfa3efc45f2
Modified Files
--------------
src/backend/executor/nodeMergejoin.c | 8 ++---
src/backend/utils/cache/lsyscache.c | 56 ----------------------------------
src/backend/utils/sort/sortsupport.c | 42 ++++++++++++++++++-------
src/include/utils/lsyscache.h | 2 --
4 files changed, 35 insertions(+), 73 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Robert Haas | 2014-08-06 20:14:13 | pgsql: Add PG_RETURN_UINT16 macro. |
Previous Message | Robert Haas | 2014-08-06 15:34:53 | pgsql: Fix alternate regression test output file. |