Re: Dead code as a result of plan cache invalidation? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Dead code as a result of plan cache invalidation?
Date
Msg-id 28487.1183574291@sss.pgh.pa.us
Whole thread Raw
In response to Re: Dead code as a result of plan cache invalidation?  (Gregory Stark <stark@enterprisedb.com>)
List pgsql-hackers
Gregory Stark <stark@enterprisedb.com> writes:
> Let me put it another way, how would I write a test case to cover these lines
> of code and not receive an error from replanning?

"Hard to get to" is not the same as "dead code".  An example is that
third-party add-ons might re-use plans that are not completely up to
date, if they've not been rewritten to use the plan cache.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: what is difference between LOCAL and GLOBAL TEMP TABLES in PostgreSQL
Next
From: Gregory Stark
Date:
Subject: Re: what is difference between LOCAL and GLOBAL TEMP TABLES in PostgreSQL