Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf877cc3

Browse files
committed
Update FAQ.
1 parent1f7cb07 commitf877cc3

File tree

2 files changed

+19
-6
lines changed

2 files changed

+19
-6
lines changed

‎doc/FAQ

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
Frequently Asked Questions (FAQ) for PostgreSQL
33

4-
Last updated: ThuApr 26 20:55:41 EDT 2001
4+
Last updated: ThuMay 10 21:32:49 EDT 2001
55

66
Current maintainer: Bruce Momjian (pgman@candle.pha.pa.us)
77

@@ -74,7 +74,8 @@
7474
4.11) What is an R-tree index?
7575
4.12) What is the Genetic Query Optimizer?
7676
4.13) How do I perform regular expression searches and
77-
case-insensitive regular expression searches?
77+
case-insensitive regular expression searches? How do I use an index
78+
for case-insensitive searches?
7879
4.14) In a query, how do I detect if a field is NULL?
7980
4.15) What is the difference between the various character types?
8081
4.16.1) How do I create a serial/auto-incrementing field?
@@ -233,7 +234,7 @@
233234

234235
1.7) What is the latest release?
235236

236-
The latest release of PostgreSQL is version 7.1.
237+
The latest release of PostgreSQL is version 7.1.1.
237238

238239
We plan to have major releases every four months.
239240

@@ -751,12 +752,24 @@ Maximum number of indexes on a table? unlimited
751752
join queries through nonexhaustive search.
752753

753754
4.13) How do I perform regular expression searches and case-insensitive
754-
regular expression searches?
755+
regular expression searches? How do I use an index for case-insensitive
756+
searches?
755757

756758
The ~ operator does regular expression matching, and ~* does
757759
case-insensitive regular expression matching. The case-insensitive
758760
variant of LIKE is called ILIKE in PostgreSQL 7.1 and later.
759761

762+
Case-insensitive equality comparisons are normally expressed as:
763+
SELECT *
764+
FROM tab
765+
WHERE lower(col) = 'abc'
766+
767+
768+
This will not use an standard index. However, if you create a
769+
functional index, it will be used:
770+
CREATE INDEX tabindex on tab (lower(col));
771+
772+
760773
4.14) In a query, how do I detect if a field is NULL?
761774

762775
You test the column with IS NULLIS NOT NULL.

‎doc/src/FAQ/FAQ.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
alink="#0000FF">
1313
<H1>Frequently Asked Questions (FAQ) for PostgreSQL</H1>
1414

15-
<P>Last updated: ThuApr 26 20:55:41 EDT 2001</P>
15+
<P>Last updated: ThuMay 10 21:32:49 EDT 2001</P>
1616

1717
<P>Current maintainer: Bruce Momjian (<Ahref=
1818
"mailto:pgman@candle.pha.pa.us">pgman@candle.pha.pa.us</A>)<BR>
@@ -312,7 +312,7 @@ <H4><A name="1.6">1.6</A>) Where can I get support?</H4>
312312

313313
<H4><Aname="1.7">1.7</A>) What is the latest release?</H4>
314314

315-
<P>The latest release of PostgreSQL is version 7.1.</P>
315+
<P>The latest release of PostgreSQL is version 7.1.1.</P>
316316

317317
<P>We plan to have major releases every four months.</P>
318318

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp