Re: Proposal for db level triggers - Mailing list pgsql-hackers

From Pavan Deolasee
Subject Re: Proposal for db level triggers
Date
Msg-id 2e78013d0803140416m2ef3093dh1f064398a9dbcece@mail.gmail.com
Whole thread Raw
In response to Re: Proposal for db level triggers  (James Mansion <james@mansionfamily.plus.com>)
List pgsql-hackers
On Fri, Mar 14, 2008 at 3:44 AM, James Mansion
<james@mansionfamily.plus.com> wrote:

>
>  And if we use data update triggers to insert into a DELETE ROWS temp
>  table or an in-memory data
>  structure, the BEFORE COMMIT trigger is the place to do a bulk copy into
>  real table(s) or combine
>  rows into a BLOb in an audit table.
>

Another use case of BEFORE COMMIT trigger is to update the row counts
for fast select count(*) operations (of course with some additional
infrastructure)

Thanks,
Pavan

-- 
Pavan Deolasee
EnterpriseDB http://www.enterprisedb.com


pgsql-hackers by date:

Previous
From: "Pavan Deolasee"
Date:
Subject: Re: PROC_VACUUM_FOR_WRAPAROUND doesn't work expectedly
Next
From: Paul van den Bogaard
Date:
Subject: Re: Reducing Transaction Start/End Contention