Re: replanning Prepared Statements ?

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "Sahagian, David" <david(dot)sahagian(at)emc(dot)com>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: replanning Prepared Statements ?
Date: 2013-05-21 20:42:45
Message-ID: 20130521204245.GC1322@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Mon, May 13, 2013 at 02:39:17PM -0400, Tom Lane wrote:
> "Sahagian, David" <david(dot)sahagian(at)emc(dot)com> writes:
> > I see in the Release Notes for 9.3 beta . . .
> > "Force cached functions to be replanned if the search_path changes (Tom Lane)
> > Previously functions already run in the current session ignored search_path changes."
>
> > Question:
> > Do Prepared Statements also get replanned, if the search_path changes ?
>
> Yes ... that release note text still needs work, it's really about any
> cached plan, which affects more than just functions.

OK, attached release note patch applied.

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ It's impossible for everything to be true. +

Attachment Content-Type Size
cached.diff text/x-diff 1.0 KB

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Dev Kumkar 2013-05-21 20:59:24 Re: [GENERAL] ODBC constructs
Previous Message Kjetil Jørgensen 2013-05-21 20:21:51 Contents of data/base/<oid> and no corresponding entry in pg_database