Re: Does psql use nested transactions?

From: Philip Warner <pjw(at)rhyme(dot)com(dot)au>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Alvaro Herrera Munoz <alvherre(at)dcc(dot)uchile(dot)cl>
Cc: Haroldo Stenger <haroldo(dot)stenger(at)gmail(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Does psql use nested transactions?
Date: 2004-08-17 23:23:44
Message-ID: 6.1.1.1.0.20040818092259.0699cd60@203.8.195.10
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

At 07:10 AM 18/08/2004, Tom Lane wrote:
>I have not had an opportunity to benchmark it but I fear a savepoint may
>cost near as much as a full xact in practice.

Out of curiosity, does this mean that using a savepoint per statement will
be no worse than using psql in autocommit mode?

----------------------------------------------------------------
Philip Warner | __---_____
Albatross Consulting Pty. Ltd. |----/ - \
(A.B.N. 75 008 659 498) | /(@) ______---_
Tel: (+61) 0500 83 82 81 | _________ \
Fax: (+61) 03 5330 3172 | ___________ |
Http://www.rhyme.com.au | / \|
| --________--
PGP key available upon request, | /
and from pgp.mit.edu:11371 |/

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Philip Warner 2004-08-17 23:26:54 Re: Does psql use nested transactions?
Previous Message Haroldo Stenger 2004-08-17 23:21:13 Re: Does psql use nested transactions?