Fix plancache so that any required replanning is done with the same

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

Commit: 547b6e537aa8bbae83a8a4c4d0d7f216390bdb9c
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2007-03-23T19:53:52Z
Releases: 8.3.0
Fix plancache so that any required replanning is done with the same
search_path that was active when the plan was first made.  To do this,
improve namespace.c to support a stack of "override" search path settings
(we must have a stack since nested replan events are entirely possible).
This facility replaces the "special namespace" hack formerly used by
CREATE SCHEMA, and should be able to support per-function search path
settings as well.

Files