How to GRANT rights to modify a table ???

From: Denis BUCHER <dbucherml(at)hsolutions(dot)ch>
To: PostgreSQL - General ML <pgsql-general(at)postgresql(dot)org>
Subject: How to GRANT rights to modify a table ???
Date: 2009-09-12 15:44:37
Message-ID: 4AABC1E5.7060405@hsolutions.ch
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hello,

A very annoying problem with Postgres is the following one :

As postgres user, I give all rights to all objects of a database or
schema to a colleague :
GRANT ALL ON mytable TO mycolleague;

But when he tries to modify something, even something really small like
adding a column to a table :
ALTER TABLE mytable ADD COLUMN field integer;
ERROR: must be the owner of the mytable relation

Therefore, how to give right to some user on tables structure ???

Thanks a lot for any help, this problem is always giving us lots of
difficulties...

Denis

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Raymond O'Donnell 2009-09-12 15:48:49 Re: How to GRANT rights to modify a table ???
Previous Message Clodoaldo Neto 2009-09-12 15:22:18 Missing 8.2.14 source rpms