pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter_e@gmx.net>
To: Joost Kraaijeveld <J.Kraaijeveld@askesis.nl>
Cc: pgsql-sql@postgresql.org
Subject: Re: Trigger / rule question
Date: Sun, 20 Nov 2005 12:08:00 +0100
Message-ID: <200511201208.00599.peter_e@gmx.net> (raw)
In-Reply-To: <1132478280.17919.10.camel@Panoramix>
References: <1132478280.17919.10.camel@Panoramix>

Joost Kraaijeveld wrote:
> 1. Does an insert, update or delete statement return before or after
> an "After" trigger (is such a trigger or rule synchronous or
> a-synchronous?

Synchronous

> 2. Is there a concept of a rule or trigger that fails? 
> If so, if a trigger or rule fails, does the insert, update or delete
> statement (transaction)  fail?

Yes

-- 
Peter Eisentraut
http://developer.postgresql.org/~petere/



view thread (10+ messages)  latest in thread

Message-ID: <200511201208.00599.peter_e@gmx.net>
Permalink:  ../200511201208.00599.peter_e@gmx.net/
Also on:    postgresql.org/message-id/200511201208.00599.peter_e@gmx.net

 · 

reply

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: peter_e@gmx.net, J.Kraaijeveld@askesis.nl
  Subject: Re: Trigger / rule question
  In-Reply-To: <200511201208.00599.peter_e@gmx.net>

* 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