pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Rural Hunter <ruralhunter@gmail.com>
To: pgsql-admin@postgresql.org
Subject: Re: transaction error handling
Date: Wed, 30 Nov 2011 16:27:05 +0800
Message-ID: <4ED5E8D9.6080205@gmail.com> (raw)
In-Reply-To: <67D108EDFAD3C148A593E6ED7DCB4BBDEDDBAE@RADCONWIN2K8PDC.radcon.local>
References: <CAANiQEm92w70rapQhitV1qL0tpkNRo5qjpwo2fdg+iZ-AURMCg@mail.gmail.com>
	<28131.1322067903@sss.pgh.pa.us>
	<232B5217AD58584C87019E8933556D11036BDE58EB@redmx2.esri.com>
	<67D108EDFAD3C148A593E6ED7DCB4BBDEDDBAE@RADCONWIN2K8PDC.radcon.local>

I have the same confusion...

于 2011/11/30 2:34, Rob Richardson 写道:
> Very naïve question here:  Why would you want to save the data from the first insert?
>
> I thought the purpose of a transaction was to make sure that all steps in the transaction executed, or none of them executed.  If Oracle saves half of the data  between the beginning and ending of the transaction, doesn't that defeat the purpose of the transaction?
>
> RobR
>




view thread (14+ messages)  latest in thread

Message-ID: <4ED5E8D9.6080205@gmail.com>
Permalink:  ../4ED5E8D9.6080205@gmail.com/
Also on:    postgresql.org/message-id/4ED5E8D9.6080205@gmail.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 using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: ruralhunter@gmail.com
  Subject: Re: transaction error handling
  In-Reply-To: <4ED5E8D9.6080205@gmail.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