Search Postgresql Archives

Re: permission denied for relation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Armon Ezra <armon@xxxxxxxxxxxx> 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°


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux