Re: Error: Relation 'testdb' does not exist

Поиск
Список
Период
Сортировка
От Nick Fankhauser
Тема Re: Error: Relation 'testdb' does not exist
Дата
Msg-id NEBBLAAHGLEEPCGOBHDGEEICDNAA.nickf@ontko.com
обсуждение исходный текст
Ответ на Error: Relation 'testdb' does not exist  ("Craig Jarman" <cjarman@source.com.au>)
Список pgsql-admin
> 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/



В списке pgsql-admin по дате отправления:

Предыдущее
От: "Todd Williamsen"
Дата:
Сообщение: Re: Ultimate DB Server
Следующее
От: Jean-Michel POURE
Дата:
Сообщение: Re: Error: Relation 'testdb' does not exist