Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WMlje-00024V-CC for pgsql-bugs@arkaria.postgresql.org; Sun, 09 Mar 2014 21:58:18 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WMljd-00043R-Nh for pgsql-bugs@arkaria.postgresql.org; Sun, 09 Mar 2014 21:58:17 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WMljc-00043K-OG for pgsql-bugs@postgresql.org; Sun, 09 Mar 2014 21:58:16 +0000 Received: from mimolette.dalibo.net ([212.85.154.222]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WMljZ-0008HP-O4 for pgsql-bugs@postgresql.org; Sun, 09 Mar 2014 21:58:15 +0000 Received: from [192.168.0.38] (ip-68.net-81-220-133.standre.rev.numericable.fr [81.220.133.68]) by mimolette.dalibo.net (Postfix) with ESMTPSA id DB2126820061; Sun, 9 Mar 2014 22:57:39 +0100 (CET) Message-ID: <531CE3C0.3020801@dalibo.com> Date: Sun, 09 Mar 2014 22:57:20 +0100 From: Vik Fearing User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 To: gordo169@gmail.com, 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 References: <20140309214504.1230.51420@wrigleys.postgresql.org> In-Reply-To: <20140309214504.1230.51420@wrigleys.postgresql.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org 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