From: | Andreas Kretschmer <akretschmer(at)spamfence(dot)net> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: permission denied for relation |
Date: | 2007-01-01 15:34:12 |
Message-ID: | 20070101153412.GA11072@KanotixBox |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Armon Ezra <armon(at)canaan(dot)co(dot)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°
From | Date | Subject | |
---|---|---|---|
Next Message | Adrian Klaver | 2007-01-01 17:32:44 | Re: Installing support for python on windows |
Previous Message | Armon Ezra | 2007-01-01 14:23:49 | permission denied for relation |