X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id EA968D1C512 for ; Fri, 1 Aug 2003 20:05:00 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 66759-06 for ; Fri, 1 Aug 2003 17:03:46 -0300 (ADT) Received: from smtp014.mail.yahoo.com (smtp014.mail.yahoo.com [216.136.173.58]) by svr1.postgresql.org (Postfix) with SMTP id F0101D1C4BD for ; Fri, 1 Aug 2003 17:04:51 -0300 (ADT) Received: from 200-207-52-86.speedyterra.com.br (HELO yahoo.com.br) (gandalf?mp@200.207.52.86 with plain) by smtp.mail.vip.sc5.yahoo.com with SMTP; 1 Aug 2003 20:04:53 -0000 Message-ID: <3F2AC832.7090803@yahoo.com.br> Date: Fri, 01 Aug 2003 17:06:10 -0300 From: MaRcElO PeReIrA User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3b) Gecko/20030112 X-Accept-Language: en-us, en MIME-Version: 1.0 To: pgsql-admin@postgresql.org Subject: Grant on several tables at once Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200308/31 X-Sequence-Number: 9754 Hello All, I have a database that contain 72 tables. How can I grant "SELECT" on all those 72 tables to a user, at once? I use to do: # grant select on table1 to marcelo; # grant select on table2 to marcelo; # ... # grant select on table72 to marcelo; but it is a lot of tables... I would like to do this at once! Thanks in advance and Best Regards, Marcelo