Received: from localhost (maia-1.hub.org [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id 662B79FA48D for ; Wed, 31 Jan 2007 11:00:41 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-new, port 10024) with ESMTP id 05680-03 for ; Wed, 31 Jan 2007 11:00:37 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from svr4.postgresql.org (svr4.postgresql.org [66.98.251.159]) by postgresql.org (Postfix) with ESMTP id D1D609FA61D for ; Wed, 31 Jan 2007 11:00:37 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.3 Received: from smx2-izb.izb.net (smx2-izb.izb.net [212.34.66.102]) by svr4.postgresql.org (Postfix) with SMTP id B63D75AF884 for ; Wed, 31 Jan 2007 15:00:36 +0000 (GMT) Received: from m0000s0b.co.ins.izb.de (unknown [172.20.166.33]) by smx2-izb.izb.net (Postfix) with ESMTP id BADCC2EAFCC; Wed, 31 Jan 2007 15:59:50 +0100 (CET) Received: by M0000S0B with Internet Mail Service (5.5.2653.19) id ; Wed, 31 Jan 2007 15:59:50 +0100 Message-ID: <11EC9A592C31034C88965C87AF18C2A7027177C4@m0000s61> From: Matthias.Pitzl@izb.de To: sidarlopez@hotmail.com, pgsql-admin@postgresql.org Subject: Re: Users and Roles Date: Wed, 31 Jan 2007 15:55:58 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-IZB-OE30173-MailScanner-Information: Please contact IZB/OE30173/+49 89 94511 8833 for more information X-IZB-OE30173-MailScanner: Found to be clean X-IZB-OE30173-MailScanner-SpamCheck: not spam (whitelisted), SpamAssassin (score=-0.89, required 3, ALL_TRUSTED -1.44, NO_REAL_NAME 0.55) X-MailScanner-From: matthias.pitzl@izb.de X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200701/294 X-Sequence-Number: 24450 > -----Original Message----- > How can I create a role and some reestrictions on it? > The case is that I have many databases and thousands of > users, I need to > create users and these users can only connect to only one > database and no > more. > > Please help me. > Hello Sidar! Perhaps you should read these pages in the documentation: http://www.postgresql.org/docs/8.2/interactive/user-manag.html and following. Greetings, Matthias