Re: temp table problem

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Heikki Linnakangas" <heikki(at)enterprisedb(dot)com>
Cc: abbas(dot)butt(at)enterprisedb(dot)com, pgsql-hackers(at)postgresql(dot)org
Subject: Re: temp table problem
Date: 2008-07-20 16:04:37
Message-ID: 29446.1216569877@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"Heikki Linnakangas" <heikki(at)enterprisedb(dot)com> writes:
> The underlying problem is that when we do GetOverrideSearchPath() in
> CreateCachedPlan, the memorized search path doesn't include pg_temp, if
> the temp namespace wasn't initialized for the backend yet. When we later
> need to revalidate the plan, pg_temp still isn't searched, even if it
> now exists.

So what's the problem? The cached plan couldn't have referred to a temp
table.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2008-07-20 16:22:30 Re: [PATCHES] WITH RECUSIVE patches 0717
Previous Message Tatsuo Ishii 2008-07-20 15:42:16 Re: [PATCHES] WITH RECUSIVE patches 0717