Received: from linux.wilsoft.nl (apollo-hrn0451.multiweb.net [195.114.253.199]) by mail.postgresql.org (8.11.1/8.11.1) with ESMTP id eBS87vL89268 for ; Thu, 28 Dec 2000 03:07:57 -0500 (EST) (envelope-from wvdakker@wilsoft.nl) Received: from pentium (pentium.wilsoft.nl [10.2.0.5]) by linux.wilsoft.nl (8.9.3/8.9.3) with ESMTP id IAA06704 for ; Wed, 27 Dec 2000 08:57:43 +0100 Message-ID: <000401c06fda$b65ce9b0$0500020a@wilsoft.nl> From: "W. van den Akker" To: References: <328DC4EC2C9B74428D8DAED1931285BF10D987@FLAN-EXCH01.corp.insage.com> <004701c06f69$3abe1980$078353d8@danwilson> Subject: Re: User Privileges Date: Wed, 27 Dec 2000 08:57:51 +0100 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: 200012/765 X-Sequence-Number: 2049 How do I retrieve this privilages? I want to disable menu-options within a program. For that I have to retrieve the privilages for some tables. gr, Willem ----- Original Message ----- From: "Dan Wilson" To: "Niral Trivedi" ; Sent: Tuesday, December 26, 2000 7:25 PM Subject: Re: [GENERAL] User Privileges > > 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 > > >