Re: UPDATE pg_catalog.pg_class as NO Superuser??

From: "A(dot) Kretschmer" <andreas(dot)kretschmer(at)schollglas(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: UPDATE pg_catalog.pg_class as NO Superuser??
Date: 2007-09-13 11:16:56
Message-ID: 20070913111656.GD2850@a-kretschmer.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

am Thu, dem 13.09.2007, um 13:06:11 +0200 mailte Kai Behncke folgendes:
> > why dont you simply alter table disable trigger?
> >
> > depesz
> >
> Could you give me an example for that please?
> Thank you very much :-), Kai

Open psql and type: \h alter table

test=*# \h alter table
Command: ALTER TABLE
Description: change the definition of a table
Syntax:
ALTER TABLE [ ONLY ] name [ * ]
....

Okay:

ALTER TABLE foo DISABLE TRIGGER ALL;

Andreas
--
Andreas Kretschmer
Kontakt: Heynitz: 035242/47150, D1: 0160/7141639 (mehr: -> Header)
GnuPG-ID: 0x3FFF606C, privat 0x7F4584DA http://wwwkeys.de.pgp.net

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Cultural Sublimation 2007-09-13 12:02:10 Re: Cannot declare record members NOT NULL
Previous Message hubert depesz lubaczewski 2007-09-13 11:07:54 Re: UPDATE pg_catalog.pg_class as NO Superuser??