pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter J. Holzer <hjp-pgsql@hjp.at>
To: pgsql-general@lists.postgresql.org
Subject: Re: Information on savepoint requirement within transctions
Date: Wed, 31 Jan 2018 19:09:28 +0100
Message-ID: <20180131180928.zt5k2lykmkox5fts@hjp.at> (raw)
In-Reply-To: <5A702F6B.60804@sibvisions.com>
References: <5A6B3F78.6030908@sibvisions.com>
	<CANu8Fixd_cKLouG_euktWHs12Nc7Ld5VXZ-qu13yuSs7HKnVPw@mail.gmail.com>
	<5A6B4A12.9000002@sibvisions.com>
	<CANu8FixBRh=+aKFDPtWc6o4o_++tOTDQSGDOBTsQ5AnfiiCFCQ@mail.gmail.com>
	<CAKFQuwYY+uMxpgmWm=V=E99GL8x53cY5-oBnnqGb8ZhTmcbznw@mail.gmail.com>
	<5A6EDD41.70005@sibvisions.com>
	<CAKFQuwbTro=vw6UxkGaR6DRdaPxGBOKTsLDJFWqD9Uz-n7gVXA@mail.gmail.com>
	<5A6F28A7.5080800@sibvisions.com>
	<CAKFQuwYWCS8jwgE2favEUu+3djhMZTMf3LHBMWXy+h5k=3ccsA@mail.gmail.com>
	<5A702F6B.60804@sibvisions.com>

On 2018-01-30 08:40:11 +0000, Robert Zenz wrote:
> On 30.01.2018 03:07, David G. Johnston wrote:
>  > So, my first pass at this.
> 
> Nice, thank you.
> 
>  > + These are of particular use for client software to use when executing
>  > + user-supplied SQL statements and want to provide try/catch behavior
>  > + where failures are ignored.
> 
> Personally, I'd reword this to something like this:
> 
>  > These are of particular use for client software which is executing
>  > user-supplied SQL statements and wants to provide try/catch behavior
>  > with the ability to continue to use the transaction after a failure.
> 
> Or maybe something like this:
> 
>  > These are of particular use for client software which requires
>  > fine-grained support over failure behavior within a transaction.
>  > They allow to provide a try/catch behavior with the ability
>  > to continue to use a transaction after a failure.

I agree. The goal isn't to ignore the error but to handle it.

        hp

-- 
   _  | Peter J. Holzer    | we build much bigger, better disasters now
|_|_) |                    | because we have much more sophisticated
| |   | hjp@hjp.at         | management tools.
__/   | http://www.hjp.at/ | -- Ross Anderson <https://www.edge.org/;

Attachments:

  signature.asc (application/pgp-signature, 832B) download

view thread (32+ messages)  latest in thread

Message-ID: <20180131180928.zt5k2lykmkox5fts@hjp.at>
Permalink:  ../20180131180928.zt5k2lykmkox5fts@hjp.at/
Also on:    postgresql.org/message-id/20180131180928.zt5k2lykmkox5fts@hjp.at

 · 

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: hjp-pgsql@hjp.at
  Subject: Re: Information on savepoint requirement within transctions
  In-Reply-To: <20180131180928.zt5k2lykmkox5fts@hjp.at>
  References: <5A6B3F78.6030908@sibvisions.com> <CANu8Fixd_cKLouG_euktWHs12Nc7Ld5VXZ-qu13yuSs7HKnVPw@mail.gmail.com> <5A6B4A12.9000002@sibvisions.com> <CANu8FixBRh=+aKFDPtWc6o4o_++tOTDQSGDOBTsQ5AnfiiCFCQ@mail.gmail.com> <CAKFQuwYY+uMxpgmWm=V=E99GL8x53cY5-oBnnqGb8ZhTmcbznw@mail.gmail.com> <5A6EDD41.70005@sibvisions.com> <CAKFQuwbTro=vw6UxkGaR6DRdaPxGBOKTsLDJFWqD9Uz-n7gVXA@mail.gmail.com> <5A6F28A7.5080800@sibvisions.com> <CAKFQuwYWCS8jwgE2favEUu+3djhMZTMf3LHBMWXy+h5k=3ccsA@mail.gmail.com> <5A702F6B.60804@sibvisions.com> <20180131180928.zt5k2lykmkox5fts@hjp.at>

* 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