aboutsummaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2002-08-18 03:03:26 +0000
committerBruce Momjian <bruce@momjian.us>2002-08-18 03:03:26 +0000
commit2c6b34d95980a102ab0c7f1049ec2869ab01ac74 (patch)
treeae0a15e92c7b4db89a1162d781dcf26dcc4b9575 /doc/src
parent4b26e7d24bda2d4de00cab1ddb482241487872c0 (diff)
downloadpostgresql-2c6b34d95980a102ab0c7f1049ec2869ab01ac74.tar.gz
postgresql-2c6b34d95980a102ab0c7f1049ec2869ab01ac74.zip
Add db-local user names, per discussion on hackers.
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/sgml/runtime.sgml22
1 files changed, 21 insertions, 1 deletions
diff --git a/doc/src/sgml/runtime.sgml b/doc/src/sgml/runtime.sgml
index d14a123da00..05efc505661 100644
--- a/doc/src/sgml/runtime.sgml
+++ b/doc/src/sgml/runtime.sgml
@@ -1,5 +1,5 @@
<!--
-$Header: /cvsroot/pgsql/doc/src/sgml/runtime.sgml,v 1.125 2002/08/15 14:26:15 momjian Exp $
+$Header: /cvsroot/pgsql/doc/src/sgml/runtime.sgml,v 1.126 2002/08/18 03:03:25 momjian Exp $
-->
<Chapter Id="runtime">
@@ -1191,6 +1191,26 @@ env PGOPTIONS='-c geqo=off' psql
</varlistentry>
<varlistentry>
+ <term><varname>DB_USER_NAMESPACE</varname> (<type>boolean</type>)</term>
+ <listitem>
+ <para>
+ This allows per-database user names. You can create users as <literal>
+ username@dbname</>. When <literal>username</> is passed by the client,
+ <literal>@</> and the database name is appended to the user name and
+ that database-specific user name is looked up by the server.
+ When creating user names containing <literal>@</>, you will need
+ to quote the user name.
+ </para>
+ <para>
+ With this option enabled, you can still create ordinary global
+ users. Simply append <literal>@</> when specifying the user name
+ in the client. The <literal>@</> will be stripped off and looked up
+ by the server.
+ </para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
<indexterm>
<primary>deadlock</primary>
<secondary>timeout</secondary>