Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1egwpD-00009a-AT for pgsql-general@arkaria.postgresql.org; Wed, 31 Jan 2018 18:09:35 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1egwpC-0007A1-EH for pgsql-general@arkaria.postgresql.org; Wed, 31 Jan 2018 18:09:34 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1egwpC-00079s-3M for pgsql-general@lists.postgresql.org; Wed, 31 Jan 2018 18:09:34 +0000 Received: from mail.hjp.at ([212.17.106.138] helo=rorschach.hjp.at) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1egwp8-0000TL-1b for pgsql-general@lists.postgresql.org; Wed, 31 Jan 2018 18:09:32 +0000 Received: by rorschach.hjp.at (Postfix, from userid 1000) id 3C12A17E3; Wed, 31 Jan 2018 19:09:28 +0100 (CET) Date: Wed, 31 Jan 2018 19:09:28 +0100 From: "Peter J. Holzer" To: pgsql-general@lists.postgresql.org Subject: Re: Information on savepoint requirement within transctions Message-ID: <20180131180928.zt5k2lykmkox5fts@hjp.at> References: <5A6B3F78.6030908@sibvisions.com> <5A6B4A12.9000002@sibvisions.com> <5A6EDD41.70005@sibvisions.com> <5A6F28A7.5080800@sibvisions.com> <5A702F6B.60804@sibvisions.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="4gr6cgt7u57c4cky" Content-Disposition: inline In-Reply-To: <5A702F6B.60804@sibvisions.com> User-Agent: NeoMutt/20170113 (1.7.2) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --4gr6cgt7u57c4cky Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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. >=20 > Nice, thank you. >=20 > > + 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. >=20 > Personally, I'd reword this to something like this: >=20 > > 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. >=20 > Or maybe something like this: >=20 > > 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 --=20 _ | 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 --4gr6cgt7u57c4cky Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEETtJbRjyPwVTYGJ5k8g5IURL+KF0FAlpyBlgACgkQ8g5IURL+ KF3+iw//QFI92svufi97B0jKIQShwqpXO+s7BZpPA7RuCeA+hIcMUsv9h2YP/xG5 Awj5Zu/251TN5vP310q89I6JuXz/U/l7AcoS+t1U8/+xNH011OKTuzx+tsal8DA0 srhNaJue6Th/2NesdqINrdUM8njjE6IZ0fjgxlmlF83Tz6r4mQa+hCMxtoAS6g2n jICqJTpaZ6MeTresa3g7Bsn9v+ii8jnihlM2Ss85f0r++U+MwGr/cOt/DvxjO5py rVxYiKtK4PIB7y3MqCS35O+F8j9XhJYuHdBzrXNGlP3gm3nU4kle5a95RQe6SoWu QEa3+Jrt6JPniKrXzelUc+gLVYoB1GlH9pW906/9wq+pDpaeHRaEnWwMw0s9d92z tCZ8dYNuyHOy6xrteyxTcZPDDZObyM7TPgFHpCQdFS9b7UC/HFLQ9QAKjD4ctHRI 2zGaqCKwdTsB0zIMlSlfBV8K6hIdgQiZCkVB3RQpB1LnuhQ4SFqueGmX8AYJX32J PK4Cjydg4Ilhv24ZsBIsf+xCvWNvGehK7/P5J752q0pzDvtU2f3skMfHcpNCdwVj sW66UOyP0gMn+RIIx96ZeNiou99+qwSvkMq7m5vfUnN99RKjHBsedVubWO9ZKeq+ fLWZEympm+k3qqkcdW/pQckbtfclgh5euX7VD/w5O0ba9QcAxas= =+0wB -----END PGP SIGNATURE----- --4gr6cgt7u57c4cky--