Skip to content

Commit e13d8a7

Browse files
committed
Doc: fix ancient mistake in search_path documentation.
"$user" in a search_path string is replaced by CURRENT_USER not SESSION_USER. (It actually was SESSION_USER in the initial implementation, but we changed it shortly later, and evidently forgot to fix the docs to match.) Noted by antonov@stdpr.ru Discussion: https://postgr.es/m/159151fb45d490c8d31ea9707e9ba99d@stdpr.ru
1 parent 5668afe commit e13d8a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/src/sgml/config.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5946,7 +5946,7 @@ COPY postgres_log FROM '/full/path/to/logfile.csv' WITH csv;
59465946
<para>
59475947
If one of the list items is the special name
59485948
<literal>$user</literal>, then the schema having the name returned by
5949-
<function>SESSION_USER</> is substituted, if there is such a schema
5949+
<function>CURRENT_USER</> is substituted, if there is such a schema
59505950
and the user has <literal>USAGE</> permission for it.
59515951
(If not, <literal>$user</literal> is ignored.)
59525952
</para>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy