Received: from shire.ontko.com (shire.ontko.com [199.164.165.1]) by postgresql.org (8.11.3/8.11.4) with ESMTP id g07LPdB86245 for ; Mon, 7 Jan 2002 16:25:39 -0500 (EST) (envelope-from nickf@ontko.com) Received: from nick (bilbo.ontko.com [199.164.165.101]) by shire.ontko.com (8.9.3/8.9.3/Debian 8.9.3-21) with SMTP id QAA08385; Mon, 7 Jan 2002 16:25:39 -0500 X-Authentication-Warning: shire.ontko.com: Host bilbo.ontko.com [199.164.165.101] claimed to be nick Reply-To: From: "Nick Fankhauser" To: "Jodi Kanter" , "Postgres Admin List" Subject: Re: granting all to user Date: Mon, 7 Jan 2002 16:22:07 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Importance: Normal In-Reply-To: <004101c197be$83083c60$de138f80@virginia.edu> X-Archive-Number: 200201/22 X-Sequence-Number: 2911 There's no command to essentially grant on all to a user, but it's pretty easy to write a select that produces a bunch of grant statements for you based on the system tables. then you log the results & run them... -Nick > -----Original Message----- > From: pgsql-admin-owner@postgresql.org > [mailto:pgsql-admin-owner@postgresql.org]On Behalf Of Jodi Kanter > Sent: Monday, January 07, 2002 4:02 PM > To: Postgres Admin List > Subject: [ADMIN] granting all to user > > > Can I grant a user all privileges to all the tables without > having to type a > grant command for each table individually? > > I know that I can use: > grant all on object to username > > but I would like to set this person up as a superuser for now so > that he can > assist with development. > > It appears that when I set up users the default is NOT to give them access > to any of the tables. I would like to have the default set so > that users can > read all the tables and then have the option to give this one particular > person full access. > > Any suggestions??? > thanks > Jodi > > > ---------------------------(end of broadcast)--------------------------- > TIP 4: Don't 'kill -9' the postmaster >