From 2c6b34d95980a102ab0c7f1049ec2869ab01ac74 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Sun, 18 Aug 2002 03:03:26 +0000 Subject: Add db-local user names, per discussion on hackers. --- doc/src/sgml/runtime.sgml | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) (limited to 'doc/src') 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 @@ @@ -1190,6 +1190,26 @@ env PGOPTIONS='-c geqo=off' psql + + DB_USER_NAMESPACE (boolean) + + + This allows per-database user names. You can create users as + username@dbname. When username is passed by the client, + @ 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 @, you will need + to quote the user name. + + + With this option enabled, you can still create ordinary global + users. Simply append @ when specifying the user name + in the client. The @ will be stripped off and looked up + by the server. + + + + deadlock -- cgit v1.2.3