Received: from mail1.rdc2.ab.home.com (mail1.rdc2.ab.home.com [24.64.2.48]) by mail.postgresql.org (8.11.1/8.11.1) with ESMTP id f06KeK704455 for ; Sat, 6 Jan 2001 15:40:20 -0500 (EST) (envelope-from kevin@kevinity.com) Received: from kevin ([24.108.130.66]) by mail1.rdc2.ab.home.com (InterMail vM.4.01.03.00 201-229-121) with SMTP id <20010106204032.CRLU592.mail1.rdc2.ab.home.com@kevin> for ; Sat, 6 Jan 2001 12:40:32 -0800 Message-ID: <001101c07821$323a2860$0300a8c0@kevin> From: "Kevin Schachter" To: Subject: Granting Permissions to User To Access Database Date: Sat, 6 Jan 2001 14:42:28 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Archive-Number: 200101/30 X-Sequence-Number: 401 I recently installed Postgres on my server to rid of the horrible limitations of Mysql. However I am having some trouble setting up permissions as they are in MySQL. In MySQL you can grant a user select permissions to all tables in a database with the command "GRANT select on db.* to .....". Is there a similar way to accomplish this in Postgres? Reading up on GRANT I see that it only works for individual tables and not a full database. As well, how can I restrict a user to only one database. In pg_hba.conf there is nothing that specifies the user name. I can grant access to the database to all users on an ip, but I can't grant it to only one user. Thanks in advance, Kevin