Re: BUG #1858: setting search path in select doesn't (always) work

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "D(dot)J(dot) Kniep" <dick(dot)kniep(at)lindix(dot)nl>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #1858: setting search path in select doesn't (always) work
Date: 2005-09-02 14:58:12
Message-ID: 14250.1125673092@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

"D.J. Kniep" <dick(dot)kniep(at)lindix(dot)nl> writes:
> After setting the search path the query
> Select * from vwexternetoegang
> produces the required results in the first installation, but in the new
> installation, it cannot find the view. However, if I do an explicit
> Set search_path to "testschema";
> it works as expected.

What does "show search_path" report in the failing and non-failing states?
Also try "select current_schemas(true)".

regards, tom lane

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Michael Fuhr 2005-09-02 15:12:50 Re: BUG #1858: setting search path in select doesn't (always) work
Previous Message Tom Lane 2005-09-02 14:53:40 Re: BUG #1859: 3-octet private use UTF8 chars reported as identical