From: Jon Collette <jon@etelos.com>
To: Rodrigo De León <rdeleonp@gmail.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: Make a SQL statement not run trigger
Date: Tue, 21 Aug 2007 15:04:59 -0700
Message-ID: <46CB618B.1010901@etelos.com> (raw)
In-Reply-To: <a55915760708211451i20259a2fg729c82aeb15c9def@mail.gmail.com>
References: <46CB5876.80003@etelos.com>
<a55915760708211451i20259a2fg729c82aeb15c9def@mail.gmail.com>
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@etelos.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
>
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 using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: jon@etelos.com, rdeleonp@gmail.com
Subject: Re: Make a SQL statement not run trigger
In-Reply-To: <46CB618B.1010901@etelos.com>
* 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