From: | Jon Collette <jon(at)etelos(dot)com> |
---|---|
To: | Rodrigo De León <rdeleonp(at)gmail(dot)com> |
Cc: | pgsql-sql(at)postgresql(dot)org |
Subject: | Re: Make a SQL statement not run trigger |
Date: | 2007-08-21 22:04:59 |
Message-ID: | 46CB618B.1010901@etelos.com |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-sql |
Thanks for the reply. It looks like this will disable the trigger for
all connections to the database. So if the chance occured that another
connection was using the table at the same time it wouldn't launch the
trigger either? am I wrong? I hope so ;)
Rodrigo De León wrote:
> On 8/21/07, Jon Collette <jon(at)etelos(dot)com> wrote:
>
>> Is it possible to run an insert,update, or delete and have it not launch
>> a trigger like it normally would?
>>
>
> alter table disable trigger ...
>
> http://www.postgresql.org/docs/8.2/static/sql-altertable.html
>
> ---------------------------(end of broadcast)---------------------------
> TIP 7: You can help support the PostgreSQL project by donating at
>
> http://www.postgresql.org/about/donate
>
From | Date | Subject | |
---|---|---|---|
Next Message | Scott Marlowe | 2007-08-21 22:07:29 | Re: Make a SQL statement not run trigger |
Previous Message | Rodrigo De León | 2007-08-21 21:51:09 | Re: Make a SQL statement not run trigger |