From: Tarlika Elisabeth Schmitz <postgresql3@numerixtechnology.de>
Cc: pgsql-sql@postgresql.org
Subject: Re: Order of evaluation in triggers for checks on inherited table partitions
Date: Fri, 27 May 2011 20:52:42 +0100
Message-ID: <20110527205242.1a832501@dick.coachhouse> (raw)
In-Reply-To: <BANLkTi=ZH6_MCYE=F=pevpK1S72jCDGLVA@mail.gmail.com>
References: <BANLkTi=ZH6_MCYE=F=pevpK1S72jCDGLVA@mail.gmail.com>
On Fri, 27 May 2011 12:28:51 -0700
Kevin Crain <kevin.crain1@gmail.com> wrote:
>Is the order of evaluation for the trigger causing this error?
Are you aware that triggers are executed in alphabetical order?
I simply used RAISE to check the order of execution of my triggers:
RAISE NOTICE '% % % %: received %', TG_TABLE_NAME, TG_NAME, TG_WHEN,
TG_OP, NEW;
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: postgresql3@numerixtechnology.de
Subject: Re: Order of evaluation in triggers for checks on inherited table partitions
In-Reply-To: <20110527205242.1a832501@dick.coachhouse>
* 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