Re: Stop trigger fireing for a specific user?

From: Glyn Astill <glynastill(at)yahoo(dot)co(dot)uk>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Stop trigger fireing for a specific user?
Date: 2008-09-19 10:54:37
Message-ID: 614013.84730.qm@web25803.mail.ukl.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> From: Richard Huxton <dev(at)archonet(dot)com>

> > The only way I can think so far is to do a select
> SESSION_USER in the
> > trigger function and skip the action if it matched my
> user.
>
> That's exactly it. I'm not sure it will ever be a
> built-in feature,
> everyone's requirements will be slightly different.
>

Cool, thanks Richard

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Harald Armin Massa 2008-09-19 11:40:13 Re: Autovacuum, too often?
Previous Message Glyn Astill 2008-09-19 10:52:35 Autovacuum, too often?