efficient trigger function selection?

From: Kenneth Tilton <ktilton(at)mcna(dot)net>
To: pgsql-general(at)postgresql(dot)org
Subject: efficient trigger function selection?
Date: 2012-04-10 20:07:39
Message-ID: CAECCA8bNhxTA32w7bU+3Vi7ykM0bDivci7ExegkQyk-uCMCUOQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Suppose I have an RDF-style table (with columns for subject, predicate,
various object types, and graph) and want to have dozens or even hundreds
of trigger functions defined conditionally on the predicate, ie "when
predicate = '<your predicate here>'".

My guess is Postgres is quite efficient at determining which if any trigger
functions to call, but I thought I'd ask.

Thx, ken

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Andy Chambers 2012-04-10 20:15:18 trigger when clause
Previous Message Aaron Burnett 2012-04-10 20:02:27 Pg 9.1.3 pg_crypto question