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

Commite2e1bbd

Browse files
committed
doc: clarify when expression indexes evaluate their expressions
Only non-HOT updates evaluate the index expression.Reported-by: Chris LowderDiscussion:https://postgr.es/m/163967385701.26064.15365003480975321072@wrigleys.postgresql.orgBackpatch-through: 10
1 parent4965f75 commite2e1bbd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎doc/src/sgml/indices.sgml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -748,8 +748,8 @@ CREATE INDEX people_names ON people ((first_name || ' ' || last_name));
748748

749749
<para>
750750
Index expressions are relatively expensive to maintain, because the
751-
derived expression(s) must be computed for each rowuponinsertion
752-
andwhenever it is updated. However, the index expressions are
751+
derived expression(s) must be computed for each row insertion
752+
andnon-HOT update. However, the index expressions are
753753
<emphasis>not</emphasis> recomputed during an indexed search, since they are
754754
already stored in the index. In both examples above, the system
755755
sees the query as just <literal>WHERE indexedcolumn = 'constant'</literal>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp