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
5fdae774
Commit
5fdae774
authored
May 07, 2001
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add mention of functional indexes for case-insensitive comparisons.
parent
465cf168
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
2 deletions
+19
-2
doc/src/FAQ/FAQ.html
doc/src/FAQ/FAQ.html
+19
-2
No files found.
doc/src/FAQ/FAQ.html
View file @
5fdae774
...
@@ -112,7 +112,8 @@
...
@@ -112,7 +112,8 @@
<A
href=
"#4.11"
>
4.11
</A>
) What is an R-tree index?
<BR>
<A
href=
"#4.11"
>
4.11
</A>
) What is an R-tree index?
<BR>
<A
href=
"#4.12"
>
4.12
</A>
) What is the Genetic Query Optimizer?
<BR>
<A
href=
"#4.12"
>
4.12
</A>
) What is the Genetic Query Optimizer?
<BR>
<A
href=
"#4.13"
>
4.13
</A>
) How do I perform regular expression
<A
href=
"#4.13"
>
4.13
</A>
) How do I perform regular expression
searches and case-insensitive regular expression searches?
<BR>
searches and case-insensitive regular expression searches? How do I
use an index for case-insensitive searches?
<BR>
<A
href=
"#4.14"
>
4.14
</A>
) In a query, how do I detect if a field
<A
href=
"#4.14"
>
4.14
</A>
) In a query, how do I detect if a field
is
<SMALL>
NULL
</SMALL>
?
<BR>
is
<SMALL>
NULL
</SMALL>
?
<BR>
<A
href=
"#4.15"
>
4.15
</A>
) What is the difference between the
<A
href=
"#4.15"
>
4.15
</A>
) What is the difference between the
...
@@ -957,13 +958,29 @@ Maximum number of indexes on a table? unlimited
...
@@ -957,13 +958,29 @@ Maximum number of indexes on a table? unlimited
search.
</P>
search.
</P>
<H4><A
name=
"4.13"
>
4.13
</A>
) How do I perform regular expression
<H4><A
name=
"4.13"
>
4.13
</A>
) How do I perform regular expression
searches and case-insensitive regular expression searches?
</H4>
searches and case-insensitive regular expression searches? How do I
use an index for case-insensitive searches?
</H4>
<P>
The
<I>
~
</I>
operator does regular expression matching, and
<P>
The
<I>
~
</I>
operator does regular expression matching, and
<I>
~*
</I>
does case-insensitive regular expression matching. The
<I>
~*
</I>
does case-insensitive regular expression matching. The
case-insensitive variant of
<SMALL>
LIKE
</SMALL>
is called
case-insensitive variant of
<SMALL>
LIKE
</SMALL>
is called
<SMALL>
ILIKE
</SMALL>
in PostgreSQL 7.1 and later.
</P>
<SMALL>
ILIKE
</SMALL>
in PostgreSQL 7.1 and later.
</P>
<P>
Case-insensitive equality comparisons are normally expressed as:
<PRE>
SELECT *
FROM tab
WHERE lower(col) = 'abc'
</PRE>
This will not use an standard index. However, if you create a
functional index, it will be used:
<PRE>
CREATE INDEX tabindex on tab (lower(col));
</PRE>
<H4><A
name=
"4.14"
>
4.14
</A>
) In a query, how do I detect if a field
<H4><A
name=
"4.14"
>
4.14
</A>
) In a query, how do I detect if a field
is
<SMALL>
NULL
</SMALL>
?
</H4>
is
<SMALL>
NULL
</SMALL>
?
</H4>
...
...
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