pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Vik Fearing <vik.fearing@dalibo.com>
To: gordo169@gmail.com
To: pgsql-bugs@postgresql.org
Subject: Re: BUG #9505: If a function references an unqualified table, it only resolves it from search_path once per session
Date: Sun, 09 Mar 2014 22:57:20 +0100
Message-ID: <531CE3C0.3020801@dalibo.com> (raw)
In-Reply-To: <20140309214504.1230.51420@wrigleys.postgresql.org>
References: <20140309214504.1230.51420@wrigleys.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

On 03/09/2014 10:45 PM, gordo169@gmail.com wrote:
> The following bug has been logged on the website:
>
> Bug reference:      9505
> Logged by:          Gordon Shannon
> Email address:      gordo169@gmail.com
> PostgreSQL version: 9.2.4
> Operating system:   Centos
> Description:        
>
> After session starts, 1st time you run a function with an unqualified
> schema, it will use search_path to resolve.  If in the same session you set
> search_path to point to a different schema with the same table name, when
> you rerun the function it still resolves to the original schema. 


This was fixed in 9.3.

http://www.postgresql.org/docs/9.3/static/release-9-3.html#AEN114856
-- 
Vik


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (2+ messages)

Message-ID: <531CE3C0.3020801@dalibo.com>
Permalink:  ../531CE3C0.3020801@dalibo.com/
Also on:    postgresql.org/message-id/531CE3C0.3020801@dalibo.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: vik.fearing@dalibo.com, gordo169@gmail.com
  Subject: Re: BUG #9505: If a function references an unqualified table, it only resolves it from search_path once per session
  In-Reply-To: <531CE3C0.3020801@dalibo.com>
  References: <20140309214504.1230.51420@wrigleys.postgresql.org> <531CE3C0.3020801@dalibo.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox