Re: I'm OWNER of the db but I get `permission denied` when

From: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
To: David Gagnon <dgagnon(at)siunik(dot)com>
Cc: Marco Colombo <pgsql(at)esiway(dot)net>, pgsql-general(at)postgresql(dot)org
Subject: Re: I'm OWNER of the db but I get `permission denied` when
Date: 2005-03-23 16:22:36
Message-ID: 424197CC.3080408@commandprompt.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

David Gagnon wrote:

> Hi all,
>
> I just created a new db wich userX is owner. I log via pgAdminIII
> with the same user but I can't update the pg_class.

You are a datdba but not a superuser :). You have to be a super user
to update pg_class.

Sincerely,

Joshua D. Drake

>
> UPDATE pg_class SET reltriggers = 0 WHERE relname = 'ic'
>
> I get:ERROR: permission denied for relation pg_class
>
> I do that on my dev env. The only difference I saw beetween users is
> that my DEV user as priviledge to create database(But it shouln't
> matter...?!)
>
> We create the db with : createdb -O userX -E UNICODE webCatalogTest
>
> Thanks for your help!
>
> /David
>
>
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
> (send "unregister YourEmailAddressHere" to majordomo(at)postgresql(dot)org)

--
Command Prompt, Inc., home of Mammoth PostgreSQL - S/ODBC and S/JDBC
Postgresql support, programming shared hosting and dedicated hosting.
+1-503-667-4564 - jd(at)commandprompt(dot)com - http://www.commandprompt.com
PostgreSQL Replicator -- production quality replication for PostgreSQL

Attachment Content-Type Size
jd.vcf text/x-vcard 285 bytes

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Scott Marlowe 2005-03-23 16:23:28 Re: backend process
Previous Message Tom Lane 2005-03-23 16:21:51 Re: checkpoint_timeout