Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 0AB78475C96 for ; Mon, 19 Aug 2002 17:21:40 -0400 (EDT) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by postgresql.org (Postfix) with ESMTP id 76DAA475BAC for ; Mon, 19 Aug 2002 17:21:39 -0400 (EDT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.5/8.12.5) with ESMTP id g7JLLdVk026946; Mon, 19 Aug 2002 17:21:40 -0400 (EDT) To: Joe Conway Cc: pgsql-docs@postgresql.org Subject: Re: functions-matching correct? In-reply-to: <3D61583B.6000608@joeconway.com> References: <3D61583B.6000608@joeconway.com> Comments: In-reply-to Joe Conway message dated "Mon, 19 Aug 2002 13:42:35 -0700" Date: Mon, 19 Aug 2002 17:21:39 -0400 Message-ID: <26945.1029792099@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200208/13 X-Sequence-Number: 1431 Joe Conway writes: > 7.2.1 docs: > http://www.postgresql.org/idocs/index.php?functions-matching.html#FUNCTIONS-LIKE > " It's also possible to select no escape character by writing ESCAPE ''. > In this case there is no way to turn off the special meaning of > underscore and percent signs in the pattern." > 7.3 development docs: > http://developer.postgresql.org/docs/postgres/functions-matching.html#FUNCTIONS-LIKE > " It's also possible to select no escape character by writing ESCAPE ''. > This effectively disables the escape mechanism and turns off the special > meaning of underscore and percent signs in the pattern." > I think the former is still correct, isn't it? Yes, as is easily proven by experiment: regression=# select 'foo' LIKE 'f%'; ?column? ---------- t (1 row) regression=# select 'foo' LIKE 'f%' escape ''; ?column? ---------- t (1 row) Who put that change in? regards, tom lane