Use comma+space as the separator in the default search_path.

While the space is optional, it seems nicer to be consistent with what
you get if you do "SET search_path=...". SET always normalizes the
separator to be comma+space.

Christoph Martin
This commit is contained in:
Heikki Linnakangas 2014-08-20 12:04:32 +03:00
parent c476288653
commit 02587dcddc
3 changed files with 3 additions and 3 deletions

View File

@ -1746,7 +1746,7 @@ SHOW search_path;
<screen>
search_path
--------------
"$user",public
"$user", public
</screen>
The first element specifies that a schema with the same name as
the current user is to be searched. If no such schema exists,

View File

@ -2912,7 +2912,7 @@ static struct config_string ConfigureNamesString[] =
GUC_LIST_INPUT | GUC_LIST_QUOTE
},
&namespace_search_path,
"\"$user\",public",
"\"$user\", public",
check_search_path, assign_search_path, NULL
},

View File

@ -499,7 +499,7 @@
# - Statement Behavior -
#search_path = '"$user",public' # schema names
#search_path = '"$user", public' # schema names
#default_tablespace = '' # a tablespace name, '' uses the default
#temp_tablespaces = '' # a list of tablespace names, '' uses
# only default tablespace