Re: BUG #1858: setting search path in select doesn't (always) work - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #1858: setting search path in select doesn't (always) work
Date
Msg-id 14250.1125673092@sss.pgh.pa.us
Whole thread Raw
In response to BUG #1858: setting search path in select doesn't (always) work  ("D.J. Kniep" <dick.kniep@lindix.nl>)
Responses Re: BUG #1858: setting search path in select doesn't (always) work
List pgsql-bugs
"D.J. Kniep" <dick.kniep@lindix.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

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: Sorting Problem in UNICODE/german
Next
From: Tom Lane
Date:
Subject: Re: BUG #1859: 3-octet private use UTF8 chars reported as identical