Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 2f1a78e

Browse files
committed
Update item:
> > A more complex solution would be to save multiple plans for different > cardinality and use the appropriate plan based on the EXECUTE values. >
1 parent 656beff commit 2f1a78e

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

doc/TODO

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
PostgreSQL TODO List
33
====================
44
Current maintainer: Bruce Momjian (pgman@candle.pha.pa.us)
5-
Last updated: Sat Dec 17 14:03:20 EST 2005
5+
Last updated: Thu Dec 22 18:05:31 EST 2005
66

77
The most recent version of this document can be viewed at
88
http://www.postgresql.org/docs/faqs.TODO.html.
@@ -718,6 +718,10 @@ Dependency Checking
718718
* Flush cached query plans when the dependent objects change,
719719
when the cardinality of parameters changes dramatically, or
720720
when new ANALYZE statistics are available
721+
722+
A more complex solution would be to save multiple plans for different
723+
cardinality and use the appropriate plan based on the EXECUTE values.
724+
721725
* Track dependencies in function bodies and recompile/invalidate
722726

723727
This is particularly important for references to temporary tables

doc/src/FAQ/TODO.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<body bgcolor="#FFFFFF" text="#000000" link="#FF0000" vlink="#A00000" alink="#0000FF">
99
<h1><a name="section_1">PostgreSQL TODO List</a></h1>
1010
<p>Current maintainer: Bruce Momjian (<a href="mailto:pgman@candle.pha.pa.us">pgman@candle.pha.pa.us</a>)<br/>
11-
Last updated: Sat Dec 17 14:03:20 EST 2005
11+
Last updated: Thu Dec 22 18:05:31 EST 2005
1212
</p>
1313
<p>The most recent version of this document can be viewed at<br/>
1414
<a href="http://www.postgresql.org/docs/faqs.TODO.html">http://www.postgresql.org/docs/faqs.TODO.html</a>.
@@ -655,6 +655,9 @@ <h1><a name="section_11">Dependency Checking</a></h1>
655655
<li>Flush cached query plans when the dependent objects change,
656656
when the cardinality of parameters changes dramatically, or
657657
when new ANALYZE statistics are available
658+
<p> A more complex solution would be to save multiple plans for different
659+
cardinality and use the appropriate plan based on the EXECUTE values.
660+
</p>
658661
</li><li>Track dependencies in function bodies and recompile/invalidate
659662
<p> This is particularly important for references to temporary tables
660663
in PL/PgSQL because PL/PgSQL caches query plans. The only workaround

0 commit comments

Comments
 (0)