As suggested by Tom, this patch restricts the right-hand argument of

Bruce Momjian <bruce@momjian.us>

Commit: a334ae3f2237d55369ac4b5cd6e9dbc2d35ab76d
Author: Bruce Momjian <bruce@momjian.us>
Date: 2002-08-22T04:45:11Z
Releases: 7.3.1
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

Files

PathChange+/−
src/backend/utils/adt/like.c modified +3 −3
src/include/catalog/pg_operator.h modified +3 −3
src/include/catalog/pg_proc.h modified +5 −5