Re: Trigger function is not called

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bill <pg(at)dbginc(dot)com>
Cc: PgSQL General <pgsql-general(at)postgresql(dot)org>
Subject: Re: Trigger function is not called
Date: 2008-08-25 23:19:02
Message-ID: 8821.1219706342@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Bill <pg(at)dbginc(dot)com> writes:
> PostgreSQL 8.3 on Windows. I have the table below which has a before
> insert trigger. The CREATE TRIGGER statement and the trigger function
> are also shown below.

The script you show attempts to create the trigger before creating the
function, which of course isn't going to work. Did you check whether
the trigger actually got created?

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Bill 2008-08-25 23:30:48 Re: Trigger function is not called
Previous Message John T. Dow 2008-08-25 21:27:26 Re: Dump/restore with bad data and large objects