Jesper Krogh <jesper@krogh.cc> writes:
> Shouldnt the like operator do the same as the = if there occours no
> wildcards and stuff in the string?
If there are also no escape characters, then yeah.
FWIW, 8.4 will complain about this case:
regression=# select E'\\' like E'\\';
ERROR: LIKE pattern must not end with escape character
regards, tom lane