Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
deab4956
Commit
deab4956
authored
Nov 18, 2001
by
Tom Lane
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Mention that LIKE ... ESCAPE '' is allowed to specify no
escape character.
parent
98e05cec
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
4 deletions
+15
-4
doc/src/sgml/func.sgml
doc/src/sgml/func.sgml
+15
-4
No files found.
doc/src/sgml/func.sgml
View file @
deab4956
<!--
$Header: /cvsroot/pgsql/doc/src/sgml/func.sgml,v 1.
79 2001/11/17 22:20:33
tgl Exp $
$Header: /cvsroot/pgsql/doc/src/sgml/func.sgml,v 1.
80 2001/11/18 21:17:10
tgl Exp $
Postgres documentation
-->
...
...
@@ -1228,8 +1228,19 @@ Postgres documentation
<para>
Note that the backslash already has a special meaning in string
literals, so to write a pattern constant that contains a backslash
you must write two backslashes in the query. You can avoid this by
selecting a different escape character with <literal>ESCAPE</literal>.
you must write two backslashes in the query. Thus, writing a pattern
that actually matches a literal backslash means writing four backslashes
in the query. You can avoid this by selecting a different escape
character with <literal>ESCAPE</literal>; then backslash isn't special
to <function>LIKE</> anymore. (But it's still special to the string
literal parser, so you still need two of them.)
</para>
<para>
It's also possible to select no escape character by writing
<literal>ESCAPE ''</literal>. In this case there is no way to
turn off the special meaning of underscore and percent signs in
the pattern.
</para>
<para>
...
...
@@ -1245,7 +1256,7 @@ Postgres documentation
<function>ILIKE</function>. There are also
<literal>!~~</literal> and <literal>!~~*</literal> operators that
represent <function>NOT LIKE</function> and <function>NOT
ILIKE</function>. All of these
are also
ILIKE</function>. All of these
operators are
<productname>Postgres</productname>-specific.
</para>
</sect2>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment