pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Markus Schaber <schabios@logi-track.com>
To: Kovács Péter <peter.kovacs@chemaxon.hu>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Statement level transactions
Date: Fri, 25 Feb 2005 22:03:00 +0100
Message-ID: <421F9284.3060008@logi-track.com> (raw)
In-Reply-To: <421F27D5.4070602@chemaxon.hu>
References: <421F27D5.4070602@chemaxon.hu>

Hi, Peter,


Kovács Péter schrieb:

> I also remember having read in the new features list for 8.0 the
> introduction of nested transaction. I found no mention to nested
> transactions in the user guides though. Am I missing something?

Savepoints can be used to create nested transactions. For every inner
transaction you want to start, create a savepoint. If you want to commit
or abort that transaction, you release or rollback that savepoint.

Actually, savepoints allow more flexible usage patterns compared to
nested transactions.

HTH,
Markus

-- 
markus schaber | dipl. informatiker
logi-track ag | rennweg 14-16 | ch 8001 zürich
phone +41-43-888 62 52 | fax +41-43-888 62 53
mailto:schabios@logi-track.com | www.logi-track.com

Attachments:

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

view thread (3+ messages)

Message-ID: <421F9284.3060008@logi-track.com>
Permalink:  ../421F9284.3060008@logi-track.com/
Also on:    postgresql.org/message-id/421F9284.3060008@logi-track.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-jdbc@postgresql.org
  Cc: schabios@logi-track.com, peter.kovacs@chemaxon.hu
  Subject: Re: Statement level transactions
  In-Reply-To: <421F9284.3060008@logi-track.com>
  References: <421F27D5.4070602@chemaxon.hu> <421F9284.3060008@logi-track.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