pgsql-server/src backend/utils/adt/like.c incl ...

Started by Bruce Momjianalmost 24 years ago1 messagescomitters
Jump to latest
#1Bruce Momjian
bruce@momjian.us

CVSROOT: /cvsroot
Module name: pgsql-server
Changes by: momjian@postgresql.org 02/08/22 00:45:12

Modified files:
src/backend/utils/adt: like.c
src/include/catalog: pg_operator.h pg_proc.h

Log message:
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