pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jan Wieck <janwieck@Yahoo.com>
To: Brett Schwarz <schwarz@PacketVideo.COM>
Cc: 'pgsql-sql@postgresql.org' <pgsql-sql@postgresql.org>
Subject: Re: Rules and transactions
Date: Wed, 24 Jan 2001 18:00:03 -0500 (EST)
Message-ID: <200101242300.SAA02766@jupiter.greatbridge.com> (raw)
In-Reply-To: <72660A24B978D411BB8A00B0D03DFE01151223@misty.packetvideo.com>

Brett Schwarz wrote:
> If I have a rule, is the rule inside a tranaction along with the table that
> it references. For example, if I have a rule that deletes an entry from
> table B, whenever an entry in table A gets deleted, then is the delete for
> table A and table B wrapped inside the same transaction?
>
> Same question I guess goes for triggers.

    Yes   and   yes.  Both  solutions  are  strictly  covered  by
    transactions.


Jan

--

#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me.                                  #
#================================================== JanWieck@Yahoo.com #



_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com




view thread (2+ messages)

Message-ID: <200101242300.SAA02766@jupiter.greatbridge.com>
Permalink:  ../200101242300.SAA02766@jupiter.greatbridge.com/
Also on:    postgresql.org/message-id/200101242300.SAA02766@jupiter.greatbridge.com

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: janwieck@Yahoo.com, schwarz@PacketVideo.COM
  Subject: Re: Rules and transactions
  In-Reply-To: <200101242300.SAA02766@jupiter.greatbridge.com>
  References: <72660A24B978D411BB8A00B0D03DFE01151223@misty.packetvideo.com> <200101242300.SAA02766@jupiter.greatbridge.com>

* 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