Re: UPDATE pg_catalog.pg_class as NO Superuser??

From: hubert depesz lubaczewski <depesz(at)depesz(dot)com>
To: Kai Behncke <Kai-Behncke(at)gmx(dot)de>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: UPDATE pg_catalog.pg_class as NO Superuser??
Date: 2007-09-13 10:25:51
Message-ID: 20070913102551.GA10931@depesz.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thu, Sep 13, 2007 at 11:25:39AM +0200, Kai Behncke wrote:
> I want that the user xy (who is no superuser) can Update a systemtable with:
> UPDATE pg_catalog.pg_class SET reltriggers = 0;

why dont you simply alter table disable trigger?

depesz

--
quicksil1er: "postgres is excellent, but like any DB it requires a
highly paid DBA. here's my CV!" :)
http://www.depesz.com/ - blog dla ciebie (i moje CV)

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Acm 2007-09-13 10:56:43 use COPY TO on normalized database
Previous Message A. Kretschmer 2007-09-13 09:35:06 Re: UPDATE pg_catalog.pg_class as NO Superuser??