Re: BUG #6517: Volatile function erroneously optimized, does not consider change in schema path

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: rene(dot)vanpaassen(at)gmail(dot)com
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #6517: Volatile function erroneously optimized, does not consider change in schema path
Date: 2012-03-12 15:04:21
Message-ID: CA+Tgmoa+HMFSbV9hZSTaO80AusxY1TFcrzQ-DCpg+jBO=Pq8+g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Mon, Mar 5, 2012 at 6:52 AM, <rene(dot)vanpaassen(at)gmail(dot)com> wrote:
> I found some unexpected behaviour when changing the schema search path in
> combination with plpgsql functions (may be true for other function types
> too, did not check). This occurs both in 9.1.2 (on Fedora, 64 bit) and 8.4.9
> (Centos 6, 32 bit). I created a small example run with psql, to demonstrate
> this.

I have a vague feeling this is a known issue. It sure seems like we
should handle it better, but I'm not sure how hard that would be to
implement.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Robert Haas 2012-03-12 15:07:55 Re: BUG #6513: explain (analyze, buffers) and toasted fields
Previous Message Kevin Grittner 2012-03-12 13:47:49 Re: postgresql 9.1 replicaiton query ( GNU/Linux replicate to Windows)