Re: Disparity in search_path SHOW and SET
- From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
- To: "Greg Sabino Mullane" <greg(at)turnstep(dot)com>
- Cc: pgsql-hackers(at)postgresql(dot)org
- Subject: Re: Disparity in search_path SHOW and SET
- Date: Tue, 20 Dec 2005 12:21:20 -0500
- Message-id: <765(dot)1135099280(at)sss(dot)pgh(dot)pa(dot)us>
"Greg Sabino Mullane" <greg(at)turnstep(dot)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
Home |
Main Index |
Thread Index