pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Doug McNaught <doug@mcnaught.org>
To: gearond@cvc.net
Cc: pgsql-general@postgresql.org
Subject: Re: transactions
Date: 21 Feb 2003 13:26:20 -0500
Message-ID: <m3bs15ze0j.fsf@varsoon.wireboard.com> (raw)
References: <2VFBXVPNTR31UZV8WRIE2YOM62B6E0.3e566b95@cal-lab>

Dennis Gearon <gearond@cvc.net> writes:

> 1/ Does a procedure take place all in one transaction?

Yes.  If you're not using BEGIN/END explicitly each query is its own
transaction. 

> 2/ If I am updating/deleting/inserting into two tables, and both tables have triggers on them to 
> check the relationship of the data between the tables, any way of knowing which trigger will fire 
> first at the  end of the transaction?

I'm not sure about this one--do the docs say anything?

-Doug



view thread (58+ messages)  latest in thread

Message-ID: <m3bs15ze0j.fsf@varsoon.wireboard.com>
Permalink:  ../m3bs15ze0j.fsf@varsoon.wireboard.com/
Also on:    postgresql.org/message-id/m3bs15ze0j.fsf@varsoon.wireboard.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-general@postgresql.org
  Cc: doug@mcnaught.org, gearond@cvc.net
  Subject: Re: transactions
  In-Reply-To: <m3bs15ze0j.fsf@varsoon.wireboard.com>
  References: <2VFBXVPNTR31UZV8WRIE2YOM62B6E0.3e566b95@cal-lab> <m3bs15ze0j.fsf@varsoon.wireboard.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