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

Commit287ed68

Browse files
committed
Remove assertion that constraint_exclusion risks wrong answers if
table constraints are changed; this is no longer true now that wehave a plan invalidation mechanism.
1 parentdc1b8ce commit287ed68

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

‎doc/src/sgml/config.sgml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- $PostgreSQL: pgsql/doc/src/sgml/config.sgml,v 1.117 2007/03/22 15:46:56 momjian Exp $ -->
1+
<!-- $PostgreSQL: pgsql/doc/src/sgml/config.sgml,v 1.118 2007/03/26 01:41:57 tgl Exp $ -->
22

33
<chapter Id="runtime-config">
44
<title>Server Configuration</title>
@@ -2140,13 +2140,7 @@ SELECT * FROM parent WHERE key = 2400;
21402140

21412141
<para>
21422142
Currently, <varname>constraint_exclusion</> is disabled by
2143-
default because it risks incorrect results if query plans are
2144-
cached &mdash; if a table constraint is changed or dropped,
2145-
the previously generated plan might now be wrong, and there is
2146-
no built-in mechanism to force re-planning. (This deficiency
2147-
will probably be addressed in a future
2148-
<productname>PostgreSQL</> release.) Another reason for
2149-
keeping it off is that the constraint checks are relatively
2143+
default because the constraint checks are relatively
21502144
expensive, and in many circumstances will yield no savings.
21512145
It is recommended to turn this on only if you are actually
21522146
using partitioned tables designed to take advantage of the

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp