Received: from albatross.prod.itd.earthlink.net (albatross.mail.pas.earthlink.net [207.217.120.120]) by postgresql.org (8.11.3/8.11.4) with ESMTP id f9THP1P16152 for ; Mon, 29 Oct 2001 12:25:01 -0500 (EST) (envelope-from nickf@ontko.com) Received: from 1cust11.tnt2.richmond.in.da.uu.net ([63.26.248.11] helo=nick) by albatross.prod.itd.earthlink.net with smtp (Exim 3.33 #1) id 15yG9i-0004yv-00; Mon, 29 Oct 2001 09:24:58 -0800 Reply-To: From: "Nick Fankhauser" To: "Craig Jarman" , Subject: Re: Error: Relation 'testdb' does not exist Date: Mon, 29 Oct 2001 12:23:05 -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) In-Reply-To: <003501c16075$0f8eee30$0a00a8c0@craig> X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Importance: Normal X-Archive-Number: 200110/248 X-Sequence-Number: 2492 > 3. psql testdb > 4. GRANT ALL ON testdb TO administrator > At this point an error is returned - "Error: Relation 'testdb' does not exist" This is because testdb is the database, not an object in the database. You can grant priveleges on individual objects in the db, but not the entire db. (Inconvenient, but it's pretty easy to write a script to create a set of grants.) -Nick -------------------------------------------------------------------------- Nick Fankhauser nickf@ontko.com Phone 1.765.935.4283 Fax 1.765.962.9788 Ray Ontko & Co. Software Consulting Services http://www.ontko.com/