Improve the plan cache invalidation mechanism to make it invalidate plans

Tom Lane <tgl@sss.pgh.pa.us>

Commit: ee33b95d9c2ecec170bc517783d7268a4bd0c793
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2008-09-09T18:58:09Z
Releases: 8.4.0
Improve the plan cache invalidation mechanism to make it invalidate plans
when user-defined functions used in a plan are modified.  Also invalidate
plans when schemas, operators, or operator classes are modified; but for these
cases we just invalidate everything rather than tracking exact dependencies,
since these types of objects seldom change in a production database.

Tom Lane; loosely based on a patch by Martin Pihlak.

Files