• Tom Lane's avatar
    Fix plancache so that any required replanning is done with the same · 547b6e53
    Tom Lane authored
    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.
    547b6e53
schemacmds.c 11.3 KB