diff options
| author | Robert Haas <rhaas@postgresql.org> | 2016-02-03 14:17:35 -0500 |
|---|---|---|
| committer | Robert Haas <rhaas@postgresql.org> | 2016-02-03 14:29:53 -0500 |
| commit | b47b4dbf683f13e6ef09fa0d93aa6e84f3d00819 (patch) | |
| tree | 495300ed40d52f5f8f70105a9543697c8d617379 /src/include/catalog/pg_amproc.h | |
| parent | 24a26c9f5448b24943df4c9bcf154bfd9f8197a6 (diff) | |
| download | postgresql-b47b4dbf683f13e6ef09fa0d93aa6e84f3d00819.tar.gz | |
Extend sortsupport for text to more opclasses.
Have varlena.c expose an interface that allows the char(n), bytea, and
bpchar types to piggyback on a now-generalized SortSupport for text.
This pushes a little more knowledge of the bpchar/char(n) type into
varlena.c than might be preferred, but that seems like the approach
that creates least friction. Also speed things up for index builds
that use text_pattern_ops or varchar_pattern_ops.
This patch does quite a bit of renaming, but it seems likely to be
worth it, so as to avoid future confusion about the fact that this code
is now more generally used than the old names might have suggested.
Peter Geoghegan, reviewed by Álvaro Herrera and Andreas Karlsson,
with small tweaks by me.
Diffstat (limited to 'src/include/catalog/pg_amproc.h')
| -rw-r--r-- | src/include/catalog/pg_amproc.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/include/catalog/pg_amproc.h b/src/include/catalog/pg_amproc.h index e75da76b99..f0ae008704 100644 --- a/src/include/catalog/pg_amproc.h +++ b/src/include/catalog/pg_amproc.h @@ -80,7 +80,9 @@ DATA(insert ( 421 702 702 1 357 )); DATA(insert ( 423 1560 1560 1 1596 )); DATA(insert ( 424 16 16 1 1693 )); DATA(insert ( 426 1042 1042 1 1078 )); +DATA(insert ( 426 1042 1042 2 3328 )); DATA(insert ( 428 17 17 1 1954 )); +DATA(insert ( 428 17 17 2 3331 )); DATA(insert ( 429 18 18 1 358 )); DATA(insert ( 434 1082 1082 1 1092 )); DATA(insert ( 434 1082 1082 2 3136 )); @@ -128,7 +130,9 @@ DATA(insert ( 1996 1083 1083 1 1107 )); DATA(insert ( 2000 1266 1266 1 1358 )); DATA(insert ( 2002 1562 1562 1 1672 )); DATA(insert ( 2095 25 25 1 2166 )); +DATA(insert ( 2095 25 25 2 3332 )); DATA(insert ( 2097 1042 1042 1 2180 )); +DATA(insert ( 2097 1042 1042 2 3333 )); DATA(insert ( 2099 790 790 1 377 )); DATA(insert ( 2233 703 703 1 380 )); DATA(insert ( 2234 704 704 1 381 )); |
