Received: from mail.fiber.net (mail.fiber.net [216.83.130.4]) by mail.postgresql.org (8.11.1/8.11.1) with ESMTP id eBQHQYL45061 for ; Tue, 26 Dec 2000 12:26:34 -0500 (EST) (envelope-from phpPgAdmin@acucore.com) Received: from danwilson (bbudnick.employees.fiber.net [216.83.131.7]) by mail.fiber.net (8.10.1/8.10.1) with SMTP id eBQHPjh22697; Tue, 26 Dec 2000 10:25:46 -0700 (MST) Message-ID: <004701c06f69$3abe1980$078353d8@danwilson> From: "Dan Wilson" To: "Niral Trivedi" , References: <328DC4EC2C9B74428D8DAED1931285BF10D987@FLAN-EXCH01.corp.insage.com> Subject: Re: User Privileges Date: Tue, 26 Dec 2000 10:25:29 -0800 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.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 X-Archive-Number: 200012/720 X-Sequence-Number: 2004 > For example I have 5 tables in database A. And now I want to give > SELECT/UPDATE/INSERT privileges to a user to all 5 tables. But according to > documentation, I have to execute 'GRANT' query 3 times(for > select/update/insert) per table. meaning total of 15 times!!!! That's incorrect... you can do it all in one statement: GRANT select,update,insert TO "" ON table_1,table_2,table_3,etc http://www.postgresql.org/users-lounge/docs/7.0/user/sql-grant.htm -Dan