From: Jim C. Nasby <jim@nasby.net>
To: Kuckuck Kuckuck <gentoopower@yahoo.de>
Cc: pgsql-admin@postgresql.org
Subject: Re: Problems changing column attribute
Date: Thu, 9 Nov 2006 00:59:12 -0600
Message-ID: <20061109065911.GD90133@nasby.net> (raw)
In-Reply-To: <20061107103654.2835.qmail@web26004.mail.ukl.yahoo.com>
References: <20061107103654.2835.qmail@web26004.mail.ukl.yahoo.com>
On Tue, Nov 07, 2006 at 10:36:54AM +0000, Kuckuck Kuckuck wrote:
> Hi folks, I have been breaking my head over this.
> I logg in as testuser via pgadmin.
> I create a table as user 'testuser' added some columns, one of them for example is name: 'testcolumn' type: varchar length: 50
> Now I'd like to change testcolumn's length to 60, as user 'testuser' I'm not allowed to change it and pgadmin tells me that I don't have the rights to change relation pg_attribute.
>
> If I change the length of 'testcolumn' from an admin account it works. Now I granted all priviliges for this table to user 'testuser' via the admin account, but still I cannot change the length if I log in with 'testuser'.
>
> Is there any chance to grant some user (in my case 'testuser') the right to change attributes, without making him superuser?
Can you reproduce this using psql? If you can, please provide us a
complete test case so others can look at it. If not, you'll need to post
on the pgAdmin list.
--
Jim Nasby jim@nasby.net
EnterpriseDB http://enterprisedb.com 512.569.9461 (cell)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: jim@nasby.net, gentoopower@yahoo.de
Subject: Re: Problems changing column attribute
In-Reply-To: <20061109065911.GD90133@nasby.net>
References: <20061107103654.2835.qmail@web26004.mail.ukl.yahoo.com> <20061109065911.GD90133@nasby.net>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox