Re: Disparity in search_path SHOW and SET - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Disparity in search_path SHOW and SET
Date
Msg-id 765.1135099280@sss.pgh.pa.us
Whole thread Raw
In response to Disparity in search_path SHOW and SET  ("Greg Sabino Mullane" <greg@turnstep.com>)
Responses Re: Disparity in search_path SHOW and SET
List pgsql-hackers
"Greg Sabino Mullane" <greg@turnstep.com> writes:
> This works fine:

> SELECT set_config('search_path', '$schema,' || current_setting('search_path'), true);

> ...but does not last outside of a transaction.

Well, sure, because you told it to.  Why isn't the last parameter
"false"?
        regards, tom lane


pgsql-hackers by date:

Previous
From: "Greg Sabino Mullane"
Date:
Subject: Disparity in search_path SHOW and SET
Next
From: "Greg Sabino Mullane"
Date:
Subject: Re: Disparity in search_path SHOW and SET