From: Nick Fankhauser <nickf@ontko.com>
To: Craig Jarman <cjarman@source.com.au>
To: pgsql-admin@postgresql.org
Subject: Re: Error: Relation 'testdb' does not exist
Date: Mon, 29 Oct 2001 12:23:05 -0500
Message-ID: <NEBBLAAHGLEEPCGOBHDGEEICDNAA.nickf@ontko.com> (raw)
In-Reply-To: <003501c16075$0f8eee30$0a00a8c0@craig>
> 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/
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: nickf@ontko.com, cjarman@source.com.au
Subject: Re: Error: Relation 'testdb' does not exist
In-Reply-To: <NEBBLAAHGLEEPCGOBHDGEEICDNAA.nickf@ontko.com>
References: <003501c16075$0f8eee30$0a00a8c0@craig> <NEBBLAAHGLEEPCGOBHDGEEICDNAA.nickf@ontko.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox