]> git.ipfire.org Git - thirdparty/postgresql.git/commit
As suggested by Tom, this patch restricts the right-hand argument of
authorBruce Momjian <bruce@momjian.us>
Thu, 22 Aug 2002 04:45:11 +0000 (04:45 +0000)
committerBruce Momjian <bruce@momjian.us>
Thu, 22 Aug 2002 04:45:11 +0000 (04:45 +0000)
commita334ae3f2237d55369ac4b5cd6e9dbc2d35ab76d
tree597478b696d51a402db7938be648d43fcceed92d
parentc7e767293713cde41fb5f7ab11166ad6d22d9704
As suggested by Tom, this patch restricts the right-hand argument of
bytealike to TEXT.

This leaves like_escape_bytea() without anything to do, but I left it in
place in anticipation of the eventual bytea pattern selectivity
functions. If there is agreement that this would be the best long term
solution, I'll take it as a TODO for 7.4.

Joe Conway
src/backend/utils/adt/like.c
src/include/catalog/pg_operator.h
src/include/catalog/pg_proc.h