]> git.ipfire.org Git - thirdparty/postgresql.git/commit
> Okay. When you get back to the original issue, the gold is hidden in
authorBruce Momjian <bruce@momjian.us>
Mon, 2 Sep 2002 06:22:20 +0000 (06:22 +0000)
committerBruce Momjian <bruce@momjian.us>
Mon, 2 Sep 2002 06:22:20 +0000 (06:22 +0000)
commit595a5a78e0fa7174b95949f04f810501c0261c5a
tree0da570e06d81dc5ca484a66053c0eb38675602dd
parent81efc826081b7889753c449cf29dd72f75690047
> Okay.  When you get back to the original issue, the gold is hidden in
> src/backend/optimizer/path/indxpath.c; see the "special indexable
> operators" stuff near the bottom of that file.  (It's a bit of a crock
> that this code is hardwired there, and not somehow accessed through a
> system catalog, but it's what we've got at the moment.)

The attached patch re-enables a bytea right hand argument (as compared
to a text right hand argument), and enables index usage, for bytea LIKE

Joe Conway
src/backend/optimizer/path/indxpath.c
src/backend/utils/adt/like.c
src/backend/utils/adt/selfuncs.c
src/include/catalog/pg_operator.h
src/include/catalog/pg_proc.h
src/include/utils/selfuncs.h