]> granicus.if.org Git - postgresql/commit
Done:
authorBruce Momjian <bruce@momjian.us>
Sat, 5 May 2007 15:40:01 +0000 (15:40 +0000)
committerBruce Momjian <bruce@momjian.us>
Sat, 5 May 2007 15:40:01 +0000 (15:40 +0000)
commit4835df303dae1b21c3c334202bea6d698cd38b75
tree04ed9516bad67224f6dcba36d1c76c33273b7258
parentdc9d3947e63391a09e27cd480f9221c149e1f30d
Done:

< Last updated: Sat May  5 10:47:39 EDT 2007
> Last updated: Sat May  5 11:39:57 EDT 2007
< * Flush cached query plans when the dependent objects change,
<   when the cardinality of parameters changes dramatically, or
> * -Flush cached query plans when the dependent objects change or
<
<   A more complex solution would be to save multiple plans for different
<   cardinality and use the appropriate plan based on the EXECUTE values.
<
< * Track dependencies in function bodies and recompile/invalidate
<
<   This is particularly important for references to temporary tables
<   in PL/PgSQL because PL/PgSQL caches query plans.  The only workaround
<   in PL/PgSQL is to use EXECUTE.  One complexity is that a function
<   might itself drop and recreate dependent tables, causing it to
<   invalidate its own query plan.
<
< * Invalidate prepared queries, like INSERT, when the table definition
> * -Track dependencies in function bodies and recompile/invalidate
> * -Invalidate prepared queries, like INSERT, when the table definition
doc/TODO
doc/src/FAQ/TODO.html