Re: permission denied for relation

Поиск
Список
Период
Сортировка
От Andreas Kretschmer
Тема Re: permission denied for relation
Дата
Msg-id 20070101153412.GA11072@KanotixBox
обсуждение исходный текст
Ответ на permission denied for relation  (Armon Ezra <armon@canaan.co.il>)
Список pgsql-general
Armon Ezra <armon@canaan.co.il> schrieb:

> while browsing  a web site (which I am trying to handle),  I get an error
> message like this:
> *" Warning*: pg_query() [function.pg-query]: Query failed: ERROR:
> permission denied for relation  -table name-   in....... on line 45   "
> I believe it has a connection to upgrading to postgresql8 , but I am not
> sure about it.
> Can anyone advice what to do about it.  it wasn't there before.

Without knowing more details it is hard to help you. Check, if the user
has the necessary rights on this table. You can use psql for this, \dp
<tablename> or \z <tablename> show all information.

You can assign rights with GRANT.


Andreas
--
Really, I'm not out to destroy Microsoft. That will just be a completely
unintentional side effect.                              (Linus Torvalds)
"If I was god, I would recompile penguin with --enable-fly."    (unknow)
Kaufbach, Saxony, Germany, Europe.              N 51.05082°, E 13.56889°

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

Предыдущее
От: Armon Ezra
Дата:
Сообщение: permission denied for relation
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: Installing support for python on windows