Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

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

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group