Received: from mail.postgresql.org (webmail.postgresql.org [216.126.85.28]) by mail.postgresql.org (8.11.1/8.11.1) with SMTP id f06KlI705423 for ; Sat, 6 Jan 2001 15:47:18 -0500 (EST) (envelope-from pgsql-admin-owner@postgresql.org) 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 f06KKY700641 for ; Sat, 6 Jan 2001 15:20:34 -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 <20010106202046.CMQQ592.mail1.rdc2.ab.home.com@kevin> for ; Sat, 6 Jan 2001 12:20:46 -0800 Message-ID: <000f01c0781e$6f47c3a0$0300a8c0@kevin> From: "Kevin Schachter" To: Subject: Granting Permissions to User To Access Database Date: Sat, 6 Jan 2001 14:22:46 -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/29 X-Sequence-Number: 399 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