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

Commitbb18b47

Browse files
committed
Document partial indexes for IS NULL lookups.
1 parent2f2a343 commitbb18b47

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

‎doc/src/sgml/ref/create_index.sgml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$PostgreSQL: pgsql/doc/src/sgml/ref/create_index.sgml,v 1.45 2004/04/2001:00:26 momjian Exp $
2+
$PostgreSQL: pgsql/doc/src/sgml/ref/create_index.sgml,v 1.46 2004/04/2004:25:47 momjian Exp $
33
PostgreSQL documentation
44
-->
55

@@ -77,11 +77,9 @@ CREATE [ UNIQUE ] INDEX <replaceable class="parameter">name</replaceable> ON <re
7777
</para>
7878

7979
<para>
80-
<literal>NULL</> values are not indexed by default. The best way
81-
to index <literal>NULL</> values is to create a partial index using
82-
an <literal>IS NULL</> comparison. <literal>IS NULL</> is more
83-
of a function call than a value comparison, and this is why a partial
84-
index works.
80+
Indexes can not be used with <literal>IS NULL</> clauses by default.
81+
The best way to use indexes in such cases is to create a partial index
82+
using an <literal>IS NULL</> comparison.
8583
</para>
8684

8785
<para>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp